mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Merge 564b6f4237
into d347600468
This commit is contained in:
commit
04a7dc65af
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user