From bfeb8ccc3849ee2b886f3efe6ba88ff2998e9e2a Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 14 Apr 2025 20:02:01 -0400 Subject: [PATCH] Fixed command mode button not showing up after toggling editor blocks on mobile --- core/src/mindustry/input/MobileInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/input/MobileInput.java b/core/src/mindustry/input/MobileInput.java index aa36130513..bd16b6f9d6 100644 --- a/core/src/mindustry/input/MobileInput.java +++ b/core/src/mindustry/input/MobileInput.java @@ -291,7 +291,7 @@ public class MobileInput extends InputHandler implements GestureListener{ }); group.fill(t -> { - t.visible(() -> !hasSchematic() && !Core.settings.getBool("editor-blocks-shown")); + t.visible(() -> !hasSchematic() && !(state.isEditor() && Core.settings.getBool("editor-blocks-shown"))); t.bottom().left(); t.button("@command.queue", Icon.rightOpen, Styles.clearTogglet, () -> {