Queued formation movement fix

This commit is contained in:
Anuken 2023-09-25 13:37:11 -04:00
parent 95609a90be
commit 39dfdff53a
2 changed files with 4 additions and 2 deletions

View file

@ -277,7 +277,9 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
}
unit.lastCommanded = player.coloredName();
ai.group = null;
if(ai.commandQueue.size <= 0){
ai.group = null;
}
//remove when other player command
if(!headless && player != Vars.player){