Fix Variable Reactor power output (#7600)

This commit is contained in:
MEEPofFaith 2022-09-20 05:43:05 -07:00 committed by GitHub
parent 3eb6061358
commit a8bed595c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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){