mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Use CVAR_RESETSTRING instead of CVAR_SERVER_CREATED
This commit is contained in:
parent
ccca958ec5
commit
50fdbaf152
3 changed files with 3 additions and 2 deletions
|
@ -1467,7 +1467,7 @@ void UI_FocusMenuIfExists(void)
|
|||
currentMenu->ActivateMenu();
|
||||
|
||||
if (ui_newvidmode->integer == -1) {
|
||||
Cvar_Get("ui_newvidmode", va("%d", r_mode), CVAR_SERVER_CREATED);
|
||||
Cvar_Get("ui_newvidmode", va("%d", r_mode), CVAR_RESETSTRING);
|
||||
Cvar_SetValue("ui_newvidmode", r_mode);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue