mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Update invalid g_gametype right away
This commit is contained in:
parent
50e85b23b3
commit
c9137d9d14
1 changed files with 1 additions and 0 deletions
|
@ -357,6 +357,7 @@ void G_RegisterCvars( void ) {
|
|||
if ( g_gametype.integer < 0 || g_gametype.integer >= GT_MAX_GAME_TYPE ) {
|
||||
G_Printf( "g_gametype %i is out of range, defaulting to 0\n", g_gametype.integer );
|
||||
trap_Cvar_Set( "g_gametype", "0" );
|
||||
trap_Cvar_Update( &g_gametype );
|
||||
}
|
||||
|
||||
level.warmupModificationCount = g_warmup.modificationCount;
|
||||
|
|
Loading…
Reference in a new issue