mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-30 16:01:46 +00:00
Make sure com_developer global var gets written right after developer has been read from cmd line
This commit is contained in:
parent
b179fb087c
commit
74be070642
1 changed files with 1 additions and 1 deletions
|
@ -2665,6 +2665,7 @@ void Com_Init( char *commandLine ) {
|
|||
|
||||
// get the developer cvar set as early as possible
|
||||
Com_StartupVariable( "developer" );
|
||||
com_developer = Cvar_Get("developer", "0", CVAR_TEMP);
|
||||
|
||||
// done early so bind command exists
|
||||
CL_InitKeyCommands();
|
||||
|
@ -2714,7 +2715,6 @@ void Com_Init( char *commandLine ) {
|
|||
com_maxfps = Cvar_Get ("com_maxfps", "85", CVAR_ARCHIVE);
|
||||
com_blood = Cvar_Get ("com_blood", "1", CVAR_ARCHIVE);
|
||||
|
||||
com_developer = Cvar_Get ("developer", "0", CVAR_TEMP );
|
||||
com_logfile = Cvar_Get ("logfile", "0", CVAR_TEMP );
|
||||
|
||||
com_timescale = Cvar_Get ("timescale", "1", CVAR_CHEAT | CVAR_SYSTEMINFO );
|
||||
|
|
Loading…
Reference in a new issue