mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-27 15:02:03 -08:00
Tractor Beam Suction multiplies by timescale twice (#6489)
This commit is contained in:
parent
f5701ba3c4
commit
795edb2494
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ public class TractorBeamTurret extends BaseTurret{
|
|||
}
|
||||
|
||||
any = true;
|
||||
target.impulseNet(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * edelta() * timeScale));
|
||||
target.impulseNet(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * edelta()));
|
||||
}
|
||||
}else{
|
||||
strength = Mathf.lerpDelta(strength, 0, 0.1f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue