CLIENT: Save new config to user_settings.cfg

This commit is contained in:
cypress 2024-07-04 16:54:03 -07:00
parent ac2dc0da95
commit 4b6e116dec

View file

@ -120,7 +120,7 @@ void() menu_quit =
void() menu_back = void() menu_back =
{ {
if (in_menu == MENU_CSETTINGS) if (in_menu == MENU_CSETTINGS)
localcmd("saveconfig\n"); localcmd("saveconfig user_settings.cfg\n");
if (in_menu == MENU_GSETTINGS || in_menu == MENU_CSETTINGS || if (in_menu == MENU_GSETTINGS || in_menu == MENU_CSETTINGS ||
in_menu == MENU_AUDSETTINGS || in_menu == MENU_CONSETTINGS) { in_menu == MENU_AUDSETTINGS || in_menu == MENU_CONSETTINGS) {
@ -605,7 +605,7 @@ void() settings_apply = {
localcmd(strcat("vid_fullscreen ", ftos(fullscreenval), "\n")); localcmd(strcat("vid_fullscreen ", ftos(fullscreenval), "\n"));
localcmd("vid_restart\n"); localcmd("vid_restart\n");
} }
localcmd("saveconfig\n"); localcmd("saveconfig user_settings.cfg\n");
} }
void() bind_walkf = { void() bind_walkf = {