From e405a3880e07c19e6db52fb4999d2b25fc065421 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 10 Feb 2022 17:45:29 -0500 Subject: [PATCH] Fixed incorrect commanding --- core/src/mindustry/input/DesktopInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;