diff --git a/core/src/mindustry/input/DesktopInput.java b/core/src/mindustry/input/DesktopInput.java index b01ac2d8f6..2097ad842e 100644 --- a/core/src/mindustry/input/DesktopInput.java +++ b/core/src/mindustry/input/DesktopInput.java @@ -687,7 +687,7 @@ public class DesktopInput extends InputHandler{ @Override public boolean tap(float x, float y, int count, KeyCode button){ - if(scene.hasMouse()) return false; + if(scene.hasMouse() || !commandMode) return false; tappedOne = true;