remove select when other player command (#7522)
This commit is contained in:
@@ -239,6 +239,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||||||
ai.commandPosition(posTarget);
|
ai.commandPosition(posTarget);
|
||||||
}
|
}
|
||||||
unit.lastCommanded = player.coloredName();
|
unit.lastCommanded = player.coloredName();
|
||||||
|
|
||||||
|
//remove when other player command
|
||||||
|
if(!headless && player != Vars.player){
|
||||||
|
control.input.selectedUnits.remove(unit);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user