Misc minor bugfixes

This commit is contained in:
Anuken
2023-05-28 09:57:26 -04:00
parent ab95b88c05
commit c4cd9e8f56
3 changed files with 4 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ public class BaseBuilderAI{
}
//only schedule when there's something to build.
if((foundPath || (!calculating && !foundPath)) && data.plans.isEmpty() && timer.get(timerStep, Mathf.lerp(placeIntervalMin, placeIntervalMax, data.team.rules().buildAiTier))){
if((foundPath || !calculating) && data.plans.isEmpty() && timer.get(timerStep, Mathf.lerp(placeIntervalMin, placeIntervalMax, data.team.rules().buildAiTier))){
for(int i = 0; i < attempts; i++){
int range = 150;