mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
Preference menu buttons are disabled until subsystem initializes (#90685)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user