CLIENT: Restart Menu Theme on Video Setting Application

This commit is contained in:
cypress 2024-09-01 18:57:51 -07:00
parent de90e7ddad
commit e6195276ae

View file

@ -598,12 +598,16 @@ void() settings_re = {
active_sheight = newh;
}
float menu_sound_length;
float menu_sound_time;
void() settings_apply = {
if (in_menu == MENU_GSETTINGS) {
localcmd(strcat("vid_width ", ftos(active_swidth), "\n"));
localcmd(strcat("vid_height ", ftos(active_sheight), "\n"));
localcmd(strcat("vid_fullscreen ", ftos(fullscreenval), "\n"));
localcmd("vid_restart\n");
menu_sound_time = 900000;
}
localcmd("saveconfig user_settings.cfg\n");
}
@ -2039,9 +2043,6 @@ void() Draw_Extra_ASettings =
drawstring([6, g_height - 42, 0], aset_desc, [12, 12], [1, 1, 1], 1, 0);
}
float menu_sound_length;
float menu_sound_time;
string() LoadScreen_GiveTip;
void() Draw_Menu =
{