mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
fix: Network Manager - don't call OnClientConnect from FinishLoadScene
This commit is contained in:
parent
40e4a57be2
commit
42d4723f4e
@ -961,7 +961,6 @@ void FinishLoadSceneHost()
|
||||
|
||||
if (clientReadyConnection != null)
|
||||
{
|
||||
OnClientConnect();
|
||||
clientLoadedScene = true;
|
||||
clientReadyConnection = null;
|
||||
}
|
||||
@ -1021,7 +1020,6 @@ void FinishLoadSceneClientOnly()
|
||||
|
||||
if (clientReadyConnection != null)
|
||||
{
|
||||
OnClientConnect();
|
||||
clientLoadedScene = true;
|
||||
clientReadyConnection = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user