Fixed Parallax not moving players serverside

This commit is contained in:
Anuken
2020-12-10 18:21:39 -05:00
parent 2d6db1583b
commit c54f398063
3 changed files with 12 additions and 3 deletions
@@ -118,7 +118,7 @@ public class TractorBeamTurret extends BaseTurret{
}
any = true;
target.impulse(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * efficiency() * timeScale));
target.impulseNet(Tmp.v1.set(this).sub(target).limit((force + (1f - target.dst(this) / range) * scaledForce) * efficiency() * timeScale));
}
}else{
strength = Mathf.lerpDelta(strength, 0, 0.1f);