From a8bed595c380dfe50bf044beff04648bb1a75a0b Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Tue, 20 Sep 2022 05:43:05 -0700 Subject: [PATCH] Fix Variable Reactor power output (#7600) --- core/src/mindustry/world/blocks/power/VariableReactor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/power/VariableReactor.java b/core/src/mindustry/world/blocks/power/VariableReactor.java index ae9aa1c693..891a25d573 100644 --- a/core/src/mindustry/world/blocks/power/VariableReactor.java +++ b/core/src/mindustry/world/blocks/power/VariableReactor.java @@ -78,7 +78,7 @@ public class VariableReactor extends PowerGenerator{ public void updateTile(){ heat = calculateHeat(sideHeat); - productionEfficiency = Mathf.clamp(heat / maxHeat) * efficiency; + productionEfficiency = efficiency; warmup = Mathf.lerpDelta(warmup, productionEfficiency > 0 ? 1f : 0f, warmupSpeed); if(instability >= 1f){