This commit is contained in:
Anuken
2022-05-09 09:49:15 -04:00
parent a8a8cc950e
commit 900e3ec334
3 changed files with 7 additions and 3 deletions

View File

@@ -234,7 +234,9 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
ai.commandPosition(posTarget);
}
}
}
if(unitIds.length > 0 && player == Vars.player){
if(teamTarget != null){
Fx.attackCommand.at(teamTarget);
}else{