mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
Reset default controls for LOADCONFIG command
This commit is contained in:
parent
1029463741
commit
71da6836c0
1 changed files with 3 additions and 0 deletions
|
@ -442,6 +442,9 @@ void Command_LoadConfig_f(void)
|
|||
strcpy(configfile, COM_Argv(1));
|
||||
FIL_ForceExtension(configfile, ".cfg");
|
||||
|
||||
// load default control
|
||||
G_Controldefault();
|
||||
|
||||
// temporarily reset execversion to default
|
||||
cv_execversion.flags &= ~CV_HIDEN;
|
||||
COM_BufInsertText(va("%s \"%s\"\n", cv_execversion.name, cv_execversion.defaultvalue));
|
||||
|
|
Loading…
Reference in a new issue