diff --git a/Assets/Mirror/Components/PredictedRigidbody/PredictedRigidbody.cs b/Assets/Mirror/Components/PredictedRigidbody/PredictedRigidbody.cs index f9b4ce313..3a8f9465b 100644 --- a/Assets/Mirror/Components/PredictedRigidbody/PredictedRigidbody.cs +++ b/Assets/Mirror/Components/PredictedRigidbody/PredictedRigidbody.cs @@ -309,8 +309,7 @@ void UpdateServer() // next round of optimizations: if client received nothing for 1s, // force correct to last received state. then server doesn't need // to send once per second anymore. - bool moving = predictedRigidbody.velocity != Vector3.zero; - syncInterval = moving ? 0 : 1; + syncInterval = IsMoving() ? 0 : 1; } // always set dirty to always serialize in next sync interval.