From 664cd6a3a0dc5386f2d7887de66bb2bfdcac66ee Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Wed, 2 Dec 2020 16:26:22 +0100 Subject: [PATCH] Update ConstructBlock.java --- core/src/mindustry/world/blocks/ConstructBlock.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/mindustry/world/blocks/ConstructBlock.java b/core/src/mindustry/world/blocks/ConstructBlock.java index c99f36f36b..9c04676fc1 100644 --- a/core/src/mindustry/world/blocks/ConstructBlock.java +++ b/core/src/mindustry/world/blocks/ConstructBlock.java @@ -288,6 +288,9 @@ public class ConstructBlock extends Block{ } progress = Mathf.clamp(progress - amount); + + // fast forward boulder deconstruction when visually already gone + if(progress <= 0.35f && previous instanceof Boulder) progress = 0; if(progress <= 0 || state.rules.infiniteResources){ if(lastBuilder == null) lastBuilder = builder;