mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-12-22 16:30:23 +00:00
Fix changing language breaking staff roll background
This commit is contained in:
parent
96018588cd
commit
307d5e993a
2 changed files with 3 additions and 3 deletions
|
@ -48,16 +48,18 @@ static void djui_panel_language_destroy(UNUSED struct DjuiBase* caller) {
|
|||
snprintf(configLanguage, MAX_CONFIG_STRING, "%s", "");
|
||||
}
|
||||
|
||||
djui_panel_shutdown();
|
||||
if (gPanelLanguageOnStartup) {
|
||||
djui_panel_shutdown();
|
||||
gDjuiInMainMenu = true;
|
||||
djui_panel_main_create(NULL);
|
||||
} else if (gDjuiInMainMenu) {
|
||||
djui_panel_shutdown();
|
||||
gDjuiInMainMenu = true;
|
||||
djui_panel_main_create(NULL);
|
||||
djui_panel_options_create(NULL);
|
||||
djui_panel_misc_create(NULL);
|
||||
} else if (gDjuiPanelPauseCreated) {
|
||||
djui_panel_shutdown();
|
||||
djui_panel_pause_create(NULL);
|
||||
djui_panel_options_create(NULL);
|
||||
djui_panel_misc_create(NULL);
|
||||
|
|
|
@ -42,8 +42,6 @@ static void djui_panel_misc_djui_setting_change(UNUSED struct DjuiBase* caller)
|
|||
djui_panel_options_create(NULL);
|
||||
djui_panel_misc_create(NULL);
|
||||
djui_panel_main_menu_create(NULL);
|
||||
} else {
|
||||
djui_panel_shutdown();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue