Skip to content

Commit 2779800

Browse files
committed
Fixed correction update issue on NetworkedNavMeshAgent
1 parent 020847a commit 2779800

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ private void Update()
102102
SendToClientsTarget(proximityClients, "MLAPI_OnNavMeshCorrectionUpdate", "MLAPI_NAV_AGENT_CORRECTION", stream.GetBuffer());
103103
}
104104
}
105+
lastCorrectionTime = Time.time;
105106
}
106107
}
107108

0 commit comments

Comments
 (0)