mirror of
https://github.com/DrBeef/JKXR.git
synced 2024-11-10 06:42:17 +00:00
Ensure weapon adjustment is applied when resetting to defaults
This commit is contained in:
parent
fada09a0bb
commit
32c4e6eac1
1 changed files with 5 additions and 0 deletions
|
@ -6519,6 +6519,11 @@ void UI_ResetDefaults( void )
|
|||
ui.Cmd_ExecuteText( EXEC_APPEND, "cvar_restart\n");
|
||||
Controls_SetDefaults();
|
||||
ui.Cmd_ExecuteText( EXEC_APPEND, "exec default.cfg\n");
|
||||
#ifdef JK2_MODE
|
||||
ui.Cmd_ExecuteText( EXEC_APPEND, "exec weapons_vr_jo.cfg\n");
|
||||
#else
|
||||
ui.Cmd_ExecuteText( EXEC_APPEND, "exec weapons_vr_ja.cfg\n");
|
||||
#endif
|
||||
ui.Cmd_ExecuteText( EXEC_APPEND, "vid_restart\n" );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue