Only on server or local player

This commit is contained in:
in0finite 2019-05-23 02:21:24 +02:00
parent 0d5a90a3c0
commit 2370a67335

View file

@ -135,10 +135,11 @@ namespace SanAndreasUnity.Behaviours.Vehicles
private void PhysicsFixedUpdate() private void PhysicsFixedUpdate()
{ {
if (m_isServer || this.IsControlledByLocalPlayer)
this.UpdateWheelsPhysics(); {
this.UpdateWheelsPhysics();
this.AddAntiRollForceToRigidBody(); this.AddAntiRollForceToRigidBody();
}
} }