Proper interplanetary launch

This commit is contained in:
Anuken
2022-01-23 14:37:08 -05:00
parent 3574e40a08
commit 4497f7ab3a
11 changed files with 66 additions and 9 deletions
@@ -34,6 +34,11 @@ public class GroundAI extends AIController{
if(spawner == null && core == null) move = false;
}
//no reason to move if there's nothing there
if(core == null && (!state.rules.waves || getClosestSpawner() == null)){
move = false;
}
if(move) pathfind(Pathfinder.fieldCore);
}