mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-06 02:40:23 -08:00
Merge 5ac20e55f3 into a01e4be75d
This commit is contained in:
commit
bbf57e4609
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ public class NuclearReactor extends PowerGenerator{
|
|||
}
|
||||
|
||||
heat = Mathf.clamp(heat);
|
||||
heatProgress = heatOutput > 0f ? Mathf.approachDelta(heatProgress, heat * heatOutput * (enabled ? 1f : 0f), heatWarmupRate * delta()) : 0f;
|
||||
heatProgress = heatOutput > 0f ? Mathf.approachDelta(heatProgress, heat * heatOutput * fullness * (enabled ? 1f : 0f), heatWarmupRate * delta()) : 0f;
|
||||
|
||||
if(heat >= 0.999f){
|
||||
Events.fire(Trigger.thoriumReactorOverheat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue