This commit is contained in:
JohnCorby 2023-08-01 22:09:35 -07:00
parent 23f96a4831
commit fdec39ec1f

View File

@ -645,6 +645,7 @@ public class MenuManager : MonoBehaviour, IAddComponentOnStart
} }
LoadGame(PlayerData.GetWarpedToTheEye()); LoadGame(PlayerData.GetWarpedToTheEye());
// wait until scene load and then wait until Start has ran
Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost); Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost);
}; };
@ -655,6 +656,7 @@ public class MenuManager : MonoBehaviour, IAddComponentOnStart
else else
{ {
LoadGame(PlayerData.GetWarpedToTheEye()); LoadGame(PlayerData.GetWarpedToTheEye());
// wait until scene load and then wait until Start has ran
Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost); Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost);
} }
} }