mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Queued formation movement fix
This commit is contained in:
parent
95609a90be
commit
39dfdff53a
@ -273,7 +273,7 @@ public class CommandAI extends AIController{
|
||||
attackTarget = null;
|
||||
}
|
||||
|
||||
if(unit.isFlying()){
|
||||
if(unit.isFlying() && move){
|
||||
unit.lookAt(vecMovePos);
|
||||
}else{
|
||||
faceTarget();
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user