diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformReliable.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformReliable.cs index b81433773..fb1ca211c 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformReliable.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformReliable.cs @@ -61,7 +61,7 @@ void LateUpdate() // instead. if (isServer || (IsClientWithAuthority && NetworkClient.ready)) { - if (sendIntervalCounter == sendIntervalMultiplier && (!onlySyncOnChange || Changed(Construct()))) + if (sendIntervalCounter >= sendIntervalMultiplier && (!onlySyncOnChange || Changed(Construct()))) SetDirty(); CheckLastSendTime(); @@ -129,7 +129,7 @@ protected virtual void CheckLastSendTime() // timeAsDouble not available in older Unity versions. if (AccurateInterval.Elapsed(NetworkTime.localTime, NetworkServer.sendInterval, ref lastSendIntervalTime)) { - if (sendIntervalCounter == sendIntervalMultiplier) + if (sendIntervalCounter >= sendIntervalMultiplier) sendIntervalCounter = 0; sendIntervalCounter++; }