mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Reset default controls for LOADCONFIG command
This commit is contained in:
parent
3880da272b
commit
e7cc04a46e
1 changed files with 3 additions and 0 deletions
|
|
@ -442,6 +442,9 @@ void Command_LoadConfig_f(void)
|
||||||
strcpy(configfile, COM_Argv(1));
|
strcpy(configfile, COM_Argv(1));
|
||||||
FIL_ForceExtension(configfile, ".cfg");
|
FIL_ForceExtension(configfile, ".cfg");
|
||||||
|
|
||||||
|
// load default control
|
||||||
|
G_Controldefault();
|
||||||
|
|
||||||
// temporarily reset execversion to default
|
// temporarily reset execversion to default
|
||||||
cv_execversion.flags &= ~CV_HIDEN;
|
cv_execversion.flags &= ~CV_HIDEN;
|
||||||
COM_BufInsertText(va("%s \"%s\"\n", cv_execversion.name, cv_execversion.defaultvalue));
|
COM_BufInsertText(va("%s \"%s\"\n", cv_execversion.name, cv_execversion.defaultvalue));
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue