diff --git a/source/client/menu.qc b/source/client/menu.qc index 0b616e8..5dd6405 100644 --- a/source/client/menu.qc +++ b/source/client/menu.qc @@ -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 = {