mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: Fix error scene error message in host mode
When using online scene and starting host mode, users were getting: ``` Closing connection: 0. Received message Mirror.SceneMessage that required authentication ```
This commit is contained in:
parent
82c647bd82
commit
838d4f019f
@ -447,7 +447,7 @@ void RegisterClientMessages()
|
|||||||
NetworkClient.RegisterHandler<DisconnectMessage>(OnClientDisconnectInternal, false);
|
NetworkClient.RegisterHandler<DisconnectMessage>(OnClientDisconnectInternal, false);
|
||||||
NetworkClient.RegisterHandler<NotReadyMessage>(OnClientNotReadyMessageInternal);
|
NetworkClient.RegisterHandler<NotReadyMessage>(OnClientNotReadyMessageInternal);
|
||||||
NetworkClient.RegisterHandler<ErrorMessage>(OnClientErrorInternal, false);
|
NetworkClient.RegisterHandler<ErrorMessage>(OnClientErrorInternal, false);
|
||||||
NetworkClient.RegisterHandler<SceneMessage>(OnClientSceneInternal);
|
NetworkClient.RegisterHandler<SceneMessage>(OnClientSceneInternal, false);
|
||||||
|
|
||||||
if (playerPrefab != null)
|
if (playerPrefab != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user