From 276a59b8740f541e230ed42040ad5bf0ecf75e77 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 25 Aug 2022 00:49:11 -0400 Subject: [PATCH] Fixed #7441 --- core/src/mindustry/content/Blocks.java | 2 +- core/src/mindustry/logic/LExecutor.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/content/Blocks.java b/core/src/mindustry/content/Blocks.java index 63bd7d56d2..95025601c0 100644 --- a/core/src/mindustry/content/Blocks.java +++ b/core/src/mindustry/content/Blocks.java @@ -1286,7 +1286,7 @@ public class Blocks{ drawer = new DrawMulti(new DrawDefault(), new DrawHeatOutput()); size = 2; heatOutput = 15f; - craftTime = 60f * 10f; + craftTime = 60f * 8f; consumeItem(Items.phaseFabric); }}; diff --git a/core/src/mindustry/logic/LExecutor.java b/core/src/mindustry/logic/LExecutor.java index fdd4020f3e..f0ce164379 100644 --- a/core/src/mindustry/logic/LExecutor.java +++ b/core/src/mindustry/logic/LExecutor.java @@ -588,6 +588,10 @@ public class LExecutor{ b.lastDisabler = exec.build; } + if(type == LAccess.enabled && exec.bool(p1)){ + b.noSleep(); + } + if(type.isObj && exec.var(p1).isobj){ b.control(type, exec.obj(p1), exec.num(p2), exec.num(p3), exec.num(p4)); }else{