From 27eca865477d807cabced42c9ebfce13d3d4d7ed Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 12 Apr 2025 09:34:16 -0400 Subject: [PATCH] Hide mobile command mode only when editor blocks are shown --- 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 b82d3899bb..aa36130513 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() && !state.rules.editor); + t.visible(() -> !hasSchematic() && !Core.settings.getBool("editor-blocks-shown")); t.bottom().left(); t.button("@command.queue", Icon.rightOpen, Styles.clearTogglet, () -> {