This commit is contained in:
EggleEgg 2025-12-02 21:42:50 +01:00 committed by GitHub
commit bbf57e4609
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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