From a6e8683b45d4f72e778a1b41cd2e4b7a3d9da3b0 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 10 Aug 2025 09:41:36 +0200 Subject: [PATCH] Fixed #11114 --- core/src/mindustry/input/DesktopInput.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/mindustry/input/DesktopInput.java b/core/src/mindustry/input/DesktopInput.java index 311b6a123e..74f77dc604 100644 --- a/core/src/mindustry/input/DesktopInput.java +++ b/core/src/mindustry/input/DesktopInput.java @@ -482,6 +482,10 @@ public class DesktopInput extends InputHandler{ pollInputPlayer(); } + if(Core.input.keyRelease(Binding.select)){ + player.shooting = false; + } + if(!Core.scene.hasMouse() && !ui.minimapfrag.shown()){ Core.graphics.cursor(cursorType); changedCursor = cursorType != SystemCursor.arrow; @@ -860,10 +864,6 @@ public class DesktopInput extends InputHandler{ Call.rotateBlock(player, cursor.build, Core.input.axisTap(Binding.rotate) > 0); } } - - if(Core.input.keyRelease(Binding.select)){ - player.shooting = false; - } } @Override