Preference menu buttons are disabled until subsystem initializes (#90685)

This commit is contained in:
LT3
2025-04-18 22:00:32 +00:00
committed by GitHub
parent 879d3b068b
commit 40f644d6d4
4 changed files with 43 additions and 3 deletions
+4
View File
@@ -135,6 +135,10 @@ GLOBAL_LIST_EMPTY(preferences_datums)
// I'm making the assumption that ui close will be called whenever a user logs out, or loses a window
// If this isn't the case, kill me and restore the code, thanks
// We need IconForge and the assets to be ready before allowing the menu to open
if(SSearly_assets.initialized != INITIALIZATION_INNEW_REGULAR)
return
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)
character_preview_view = create_character_preview_view(user)