fix: Network Manager - don't call OnClientConnect from FinishLoadScene

This commit is contained in:
MrGadget1024 2023-02-05 19:37:56 -05:00
parent 40e4a57be2
commit 42d4723f4e

View File

@ -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;
}