From 6e3382757640b8d6f3257a5ef6296bb18dbb8fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E9=97=A8=E9=98=B3=E5=BE=B7?= <66559840+nanmenyangde@users.noreply.github.com> Date: Thu, 17 Aug 2023 21:15:37 +0800 Subject: [PATCH] Don't stop mining when planning (#8945) --- 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 c4fcaa041e..0e192125c6 100644 --- a/core/src/mindustry/input/DesktopInput.java +++ b/core/src/mindustry/input/DesktopInput.java @@ -477,7 +477,7 @@ public class DesktopInput extends InputHandler{ schematicY += shiftY; } - if(Core.input.keyTap(Binding.deselect) && !isPlacing() && !commandMode){ + if(Core.input.keyTap(Binding.deselect) && !isPlacing() && player.unit().plans.isEmpty() && !commandMode){ player.unit().mineTile = null; }