From 4f34a9235cb7e001aa27e0fc478b1d1f5e54511c Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Fri, 26 May 2023 17:57:24 -0400 Subject: [PATCH] Don't show ghosts when typing in chat (#8644) * Don't show ghosts when typing in chat * braint --- core/src/mindustry/graphics/BlockRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/graphics/BlockRenderer.java b/core/src/mindustry/graphics/BlockRenderer.java index 394238b8e8..29807d0132 100644 --- a/core/src/mindustry/graphics/BlockRenderer.java +++ b/core/src/mindustry/graphics/BlockRenderer.java @@ -266,7 +266,7 @@ public class BlockRenderer{ public void drawDestroyed(){ if(!Core.settings.getBool("destroyedblocks")) return; - if(control.input.isPlacing() || control.input.isBreaking() || control.input.isRebuildSelecting()){ + if(control.input.isPlacing() || control.input.isBreaking() || (control.input.isRebuildSelecting() && !scene.hasKeyboard())){ brokenFade = Mathf.lerpDelta(brokenFade, 1f, 0.1f); }else{ brokenFade = Mathf.lerpDelta(brokenFade, 0f, 0.1f);