From 27798000ba55b6d49c515675ceb38d538e48b426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Cor=C3=A9n?= <2108U9@gmail.com> Date: Wed, 28 Mar 2018 19:42:08 +0200 Subject: [PATCH] Fixed correction update issue on NetworkedNavMeshAgent --- MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs b/MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs index 76c8dcd..d855ed0 100644 --- a/MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs +++ b/MLAPI/MonoBehaviours/Prototyping/NetworkedNavMeshAgent.cs @@ -102,6 +102,7 @@ namespace MLAPI.MonoBehaviours.Prototyping SendToClientsTarget(proximityClients, "MLAPI_OnNavMeshCorrectionUpdate", "MLAPI_NAV_AGENT_CORRECTION", stream.GetBuffer()); } } + lastCorrectionTime = Time.time; } }