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

This commit is contained in:
LT3
2025-04-29 18:04:29 -06:00
committed by Shadow-Quill
parent 8a9b99683d
commit af1abcd81d
4 changed files with 43 additions and 3 deletions
+4
View File
@@ -143,6 +143,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)