diff --git a/core/src/mindustry/input/InputHandler.java b/core/src/mindustry/input/InputHandler.java index a6a5e3d8e2..3ce9851aaf 100644 --- a/core/src/mindustry/input/InputHandler.java +++ b/core/src/mindustry/input/InputHandler.java @@ -1113,7 +1113,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{ } Building build = world.buildWorld(Core.input.mouseWorld().x, Core.input.mouseWorld().y); - if(build instanceof ControlBlock cont && cont.canControl() && build.team == player.team()){ + if(build instanceof ControlBlock cont && cont.canControl() && build.team == player.team() && cont.unit() != player.unit()){ return cont.unit(); }