mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-28 23:02:51 +00:00
CLIENT: Save new config to user_settings.cfg
This commit is contained in:
parent
ac2dc0da95
commit
4b6e116dec
1 changed files with 2 additions and 2 deletions
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue