From dac3fc6283d058c8b6f93da9f40f79c3f52badb0 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Tue, 5 Apr 2022 19:05:09 -0700 Subject: [PATCH] funny bug --- QSB/Menus/MenuManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/QSB/Menus/MenuManager.cs b/QSB/Menus/MenuManager.cs index 91aeafbe..7dadecd8 100644 --- a/QSB/Menus/MenuManager.cs +++ b/QSB/Menus/MenuManager.cs @@ -56,13 +56,15 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart { if (isUniverse) { - InitPauseMenus(); + // wait a frame or else the changes won't actually happen + Delay.RunNextFrame(InitPauseMenus); return; } if (newScene == OWScene.TitleScreen) { - MakeTitleMenus(); + // wait a frame or else the changes won't actually happen + Delay.RunNextFrame(MakeTitleMenus); } }