mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-17 01:21:12 +00:00
Add back 'spectator' and 'password' cvars.
Those are special cvars that just need to be registered. They're used in the servers userinfo structures. This closes issue #166.
This commit is contained in:
parent
44472722e0
commit
55d7842a02
1 changed files with 4 additions and 0 deletions
|
@ -537,6 +537,10 @@ CL_InitLocal(void)
|
|||
gender_auto = Cvar_Get("gender_auto", "1", CVAR_ARCHIVE);
|
||||
gender->modified = false;
|
||||
|
||||
// USERINFO cvars are special, they just need to be registered
|
||||
Cvar_Get("password", "", CVAR_USERINFO);
|
||||
Cvar_Get("spectator", "0", CVAR_USERINFO);
|
||||
|
||||
cl_vwep = Cvar_Get("cl_vwep", "1", CVAR_ARCHIVE);
|
||||
|
||||
/* register our commands */
|
||||
|
|
Loading…
Reference in a new issue