summaryrefslogtreecommitdiff
path: root/src/client/cl_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/cl_parse.c')
-rw-r--r--src/client/cl_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/cl_parse.c b/src/client/cl_parse.c
index 64404f78..42465f1b 100644
--- a/src/client/cl_parse.c
+++ b/src/client/cl_parse.c
@@ -413,13 +413,13 @@ void CL_SystemInfoChanged( void ) {
else
{
// If this cvar may not be modified by a server discard the value.
- if(!(cvar_flags & (CVAR_SYSTEMINFO | CVAR_SERVER_CREATED)))
+ if(!(cvar_flags & (CVAR_SYSTEMINFO | CVAR_SERVER_CREATED | CVAR_USER_CREATED)))
{
Com_Printf(S_COLOR_YELLOW "WARNING: server is not allowed to set %s=%s\n", key, value);
continue;
}
- Cvar_Set(key, value);
+ Cvar_SetSafe(key, value);
}
}
// if game folder should not be set and it is set at the client side