mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-02 00:52:28 +00:00
Initialize singleplayer
as CVAR_LATCH
.
Changing the game mode during a session screams for problems.
This commit is contained in:
parent
b0fb26c6aa
commit
9f558dbc80
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ SV_Init(void)
|
||||||
|
|
||||||
rcon_password = Cvar_Get("rcon_password", "", 0);
|
rcon_password = Cvar_Get("rcon_password", "", 0);
|
||||||
Cvar_Get("skill", "1", 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("deathmatch", "0", CVAR_LATCH);
|
||||||
Cvar_Get("coop", "0", CVAR_LATCH);
|
Cvar_Get("coop", "0", CVAR_LATCH);
|
||||||
Cvar_Get("dmflags", va("%i", DF_INSTANT_ITEMS), CVAR_SERVERINFO);
|
Cvar_Get("dmflags", va("%i", DF_INSTANT_ITEMS), CVAR_SERVERINFO);
|
||||||
|
|
Loading…
Reference in a new issue