Origin testing

This commit is contained in:
Anuken
2022-10-28 16:15:09 -04:00
parent 0b9da88ebf
commit 42d929f32d
7 changed files with 13 additions and 4 deletions
+1 -2
View File
@@ -158,8 +158,7 @@ public class BuilderAI extends AIController{
}
}
//TODO this is bad, rebuild time should not depend on AI here
float rebuildTime = (unit.team.rules().rtsAi ? 8f : 2f) * 60f;
float rebuildTime = 2f * 60f;
//find new plan
if(!onlyAssist && !unit.team.data().plans.isEmpty() && following == null && timer.get(timerTarget3, rebuildTime)){