This commit is contained in:
Anuken
2020-12-24 09:44:24 -05:00
parent 2523088b4c
commit 90372171b2
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public class ItemLiquidGenerator extends PowerGenerator{
//Power amount is delta'd by PowerGraph class already.
float calculationDelta = delta();
heat = Mathf.lerpDelta(heat, generateTime >= 0.001f ? 1f : 0f, 0.05f);
heat = Mathf.lerpDelta(heat, generateTime >= 0.001f && enabled ? 1f : 0f, 0.05f);
if(!consValid()){
productionEfficiency = 0.0f;