From fdec39ec1fa1b8947e3a5bdb46658da69cff9ab9 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 1 Aug 2023 22:09:35 -0700 Subject: [PATCH] comment --- QSB/Menus/MenuManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QSB/Menus/MenuManager.cs b/QSB/Menus/MenuManager.cs index 76d3e13e..cbc26299 100644 --- a/QSB/Menus/MenuManager.cs +++ b/QSB/Menus/MenuManager.cs @@ -645,6 +645,7 @@ public class MenuManager : MonoBehaviour, IAddComponentOnStart } LoadGame(PlayerData.GetWarpedToTheEye()); + // wait until scene load and then wait until Start has ran Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost); }; @@ -655,6 +656,7 @@ public class MenuManager : MonoBehaviour, IAddComponentOnStart else { LoadGame(PlayerData.GetWarpedToTheEye()); + // wait until scene load and then wait until Start has ran Delay.RunWhen(() => TimeLoop._initialized, QSBNetworkManager.singleton.StartHost); } }