Skip to content

Commit

Permalink
fix menus being made before settings are read
Browse files Browse the repository at this point in the history
  • Loading branch information
misternebula committed Mar 17, 2024
1 parent e193c11 commit 47811ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OWML.ModHelper.Menus/NewMenuSystem/MenuManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public MenuManager(
};

modUnityEvents.RunWhen(
() => LoadManager.GetCurrentScene() == OWScene.TitleScreen,
() => PlayerData.IsLoaded(),
() => SetupMenus(((IMenuManager)this).ModList));
}

Expand Down

0 comments on commit 47811ff

Please sign in to comment.