Skip to content

Commit d01003b

Browse files
khyperiaNoelStephensUnity
authored andcommitted
Fix NetworkVariables sometimes dropping changes
1 parent 906f202 commit d01003b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Core/NetworkBehaviour.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,8 +1002,8 @@ internal void NetworkVariableUpdate(ulong targetClientId, int behaviourIndex, bo
10021002
if (networkVariable.CanSend())
10031003
{
10041004
shouldSend = true;
1005+
break;
10051006
}
1006-
break;
10071007
}
10081008
}
10091009

0 commit comments

Comments
 (0)