mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-13 00:05:23 +07:00
Fix Variable Reactor power output (#7600)
This commit is contained in:
parent
3eb6061358
commit
a8bed595c3
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user