mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager: OnClientNotReadyMessageInternal uses RegisterHandler version without NetworkConnection parameter to prepare for removal
This commit is contained in:
parent
5bf7be143c
commit
8e0ef05c64
@ -1157,11 +1157,11 @@ void OnClientDisconnectInternal()
|
||||
OnClientDisconnect(NetworkClient.connection);
|
||||
}
|
||||
|
||||
void OnClientNotReadyMessageInternal(NetworkConnection conn, NotReadyMessage msg)
|
||||
void OnClientNotReadyMessageInternal(NotReadyMessage msg)
|
||||
{
|
||||
//Debug.Log("NetworkManager.OnClientNotReadyMessageInternal");
|
||||
NetworkClient.ready = false;
|
||||
OnClientNotReady(conn);
|
||||
OnClientNotReady(NetworkClient.connection);
|
||||
// NOTE: clientReadyConnection is not set here! don't want OnClientConnect to be invoked again after scene changes.
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user