Compare commits

...

2 Commits

View File

@ -1266,6 +1266,11 @@ public static void SetClientReady(NetworkConnectionToClient conn)
{ {
// Debug.Log($"SetClientReadyInternal for conn:{conn}"); // Debug.Log($"SetClientReadyInternal for conn:{conn}");
// only if not already ready yet.
// prevents clients spamming ReadyMessage to force observer rebuilds.
// fixes: https://github.com/MirrorNetworking/Mirror/issues/2623
if (conn.isReady) return;
// set ready // set ready
conn.isReady = true; conn.isReady = true;