Skip to content

Commit c192337

Browse files
committed
fix mistake on message in storage low warning (upgrade building)
1 parent 3ba9553 commit c192337

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

TbsCore/Tasks/LowLevel/UpgradeBuilding.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -525,9 +525,7 @@ private async Task<bool> IsEnoughRes(Account acc)
525525
{
526526
if (ResourcesHelper.IsStorageTooLow(acc, Vill, cost))
527527
{
528-
acc.Logger.Warning($"Storage is too low to build {_buildingTask.Building} - Level {_buildingTask.Level}! Needed {cost}. Need upgrade storage first", this);
529-
acc.Logger.Information("Now bot CANNOT add upgrade storage task, please do it manually.", this);
530-
StopFlag = true;
528+
acc.Logger.Warning($"Storage is too low. Added storage upgrade.", this);
531529
return false;
532530
}
533531

0 commit comments

Comments
 (0)