Skip to content
Snippets Groups Projects
Commit 71da6836 authored by Marco Z's avatar Marco Z
Browse files

Reset default controls for LOADCONFIG command

parent 10294637
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment