mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
Merge 564b6f4237
into 04bb95311b
This commit is contained in:
commit
1afa0263f8
@ -1266,6 +1266,11 @@ public static void SetClientReady(NetworkConnectionToClient 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
|
||||
conn.isReady = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user