We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef41b2c commit f2bebd6Copy full SHA for f2bebd6
MLAPI/MonoBehaviours/Core/NetworkedBehaviour.cs
@@ -454,7 +454,7 @@ internal void SyncVarUpdate()
454
{
455
if (!syncVarInit)
456
SyncVarInit();
457
- if (NetworkingManager.singleton.NetworkTime - lastSyncTime >= SyncVarSyncDelay)
+ if (SyncVarSyncDelay > 0 && NetworkingManager.singleton.NetworkTime - lastSyncTime >= SyncVarSyncDelay)
458
459
SetDirtyness();
460
byte nonTargetDirtyCount = 0;
0 commit comments