From 47811ffdfd6ee192d723b7992e638d77df365050 Mon Sep 17 00:00:00 2001 From: _nebula <41904486+misternebula@users.noreply.github.com> Date: Sun, 17 Mar 2024 21:29:04 +0000 Subject: [PATCH] fix menus being made before settings are read --- src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs b/src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs index 2e351540..63de1f89 100644 --- a/src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs +++ b/src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs @@ -65,7 +65,7 @@ public MenuManager( }; modUnityEvents.RunWhen( - () => LoadManager.GetCurrentScene() == OWScene.TitleScreen, + () => PlayerData.IsLoaded(), () => SetupMenus(((IMenuManager)this).ModList)); }