Initialize singleplayer as CVAR_LATCH.

Changing the game mode during a session screams for problems.
This commit is contained in:
Yamagi 2021-11-13 11:58:06 +01:00
parent b0fb26c6aa
commit 9f558dbc80

View file

@ -584,7 +584,7 @@ SV_Init(void)
rcon_password = Cvar_Get("rcon_password", "", 0);
Cvar_Get("skill", "1", 0);
Cvar_Get("singleplayer", "0", 0);
Cvar_Get("singleplayer", "0", CVAR_LATCH);
Cvar_Get("deathmatch", "0", CVAR_LATCH);
Cvar_Get("coop", "0", CVAR_LATCH);
Cvar_Get("dmflags", va("%i", DF_INSTANT_ITEMS), CVAR_SERVERINFO);