Skip to content

Commit 7f1678c

Browse files
committed
fix: adpating to tick system changes
1 parent a069efa commit 7f1678c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

com.unity.multiplayer.mlapi/Runtime/Core/NetworkedBehaviour.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ internal void InitializeVars()
527527
internal static void NetworkedBehaviourUpdate()
528528
{
529529
// Don't NetworkedBehaviourUpdate more than once per network tick
530-
ushort tick = NetworkTickSystem.Instance.GetTick();
530+
ushort tick = NetworkingManager.Singleton.networkTickSystem.GetTick();
531531
if (tick == currentTick)
532532
{
533533
return;

0 commit comments

Comments
 (0)