Scale impact reactor warmup time with boost (#4317)

This commit is contained in:
Patrick 'Quezler' Mounier
2021-01-15 23:09:39 +01:00
committed by GitHub
parent 2d3a9b605a
commit f3b1ef02e3

View File

@@ -72,7 +72,7 @@ public class ImpactReactor extends PowerGenerator{
if(consValid() && power.status >= 0.99f){
boolean prevOut = getPowerProduction() <= consumes.getPower().requestedPower(this);
warmup = Mathf.lerpDelta(warmup, 1f, warmupSpeed);
warmup = Mathf.lerpDelta(warmup, 1f, warmupSpeed * timeScale());
if(Mathf.equal(warmup, 1f, 0.001f)){
warmup = 1f;
}