- Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
This commit is contained in:
parent
0eb5d1720c
commit
67a8b273c2
6 changed files with 60 additions and 18 deletions
|
@ -684,6 +684,8 @@ void SV_Init (void)
|
|||
sv_lanForceRate = Cvar_Get ("sv_lanForceRate", "1", CVAR_ARCHIVE );
|
||||
sv_strictAuth = Cvar_Get ("sv_strictAuth", "1", CVAR_ARCHIVE );
|
||||
sv_banFile = Cvar_Get("sv_banFile", "serverbans.dat", CVAR_ARCHIVE);
|
||||
sv_heartbeat = Cvar_Get("sv_heartbeat", HEARTBEAT_FOR_MASTER, CVAR_INIT);
|
||||
sv_flatline = Cvar_Get("sv_flatline", FLATLINE_FOR_MASTER, CVAR_INIT);
|
||||
|
||||
// initialize bot cvars so they are listed and can be set before loading the botlib
|
||||
SV_BotInitCvars();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue