mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Scale impact reactor warmup time with boost (#4317)
This commit is contained in:
parent
2d3a9b605a
commit
f3b1ef02e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue