We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 707a6e2 commit 3db5604Copy full SHA for 3db5604
TbsCore/Tasks/LowLevel/UpgradeBuilding.cs
@@ -124,7 +124,7 @@ public override async Task<TaskRes> Execute(Account acc)
124
acc.Logger.Warning($"Not enough resources to construct {_buildingTask.Building} - Level {_buildingTask.Level}! Needed {cost}. Bot will try finish the task later", this);
125
DateTime enoughRes = TimeHelper.EnoughResToUpgrade(Vill, stillNeededRes);
126
NextExecute = TimeHelper.RanDelay(acc, enoughRes);
127
- continue;
+ return TaskRes.Executed;
128
}
129
var heroRes = HeroHelper.GetHeroResources(acc);
130
0 commit comments