Atolls sector map submission / Windswept Islands rework submission

This commit is contained in:
Anuken
2024-09-15 12:24:52 -04:00
parent db52650bd5
commit 20a7f3f300
12 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ public class CommandAI extends AIController{
void finishPath(){
//the enter payload command never finishes until they are actually accepted
if(command == UnitCommand.enterPayloadCommand && commandQueue.size == 0 && targetPos != null && world.buildWorld(targetPos.x, targetPos.y) != null && world.buildWorld(targetPos.x, targetPos.y).block.acceptsPayloads){
if(command == UnitCommand.enterPayloadCommand && commandQueue.size == 0 && targetPos != null && world.buildWorld(targetPos.x, targetPos.y) != null && world.buildWorld(targetPos.x, targetPos.y).block.acceptsUnitPayloads){
return;
}