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 cbe709d commit f7b16dfCopy full SHA for f7b16df
MLAPI/MonoBehaviours/Prototyping/NetworkedProximity.cs
@@ -74,7 +74,7 @@ private void FixedUpdate()
74
if (!isServer)
75
return;
76
77
- if (Time.time - lastUpdateTime > VisibilityUpdateInterval)
+ if (NetworkingManager.singleton.NetworkTime - lastUpdateTime > VisibilityUpdateInterval)
78
{
79
RebuildObservers();
80
lastUpdateTime = NetworkingManager.singleton.NetworkTime;
0 commit comments