mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Fixed setProp x/y not teleporting on strict servers
This commit is contained in:
parent
71e049d92d
commit
f633fb0af5
13 changed files with 37 additions and 30 deletions
|
|
@ -325,7 +325,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
for(int id : unitIds){
|
||||
Unit unit = Groups.unit.getByID(id);
|
||||
if(unit != null && unit.team == player.team() && unit.controller() instanceof CommandAI ai){
|
||||
if(stance == UnitStance.stopStance){ //not a real stance, just cancels orders
|
||||
if(stance == UnitStance.stop){ //not a real stance, just cancels orders
|
||||
ai.clearCommands();
|
||||
}else{
|
||||
ai.stance = stance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue