summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qcommon/cvar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcommon/cvar.c b/src/qcommon/cvar.c
index 336f45b0..d22679e8 100644
--- a/src/qcommon/cvar.c
+++ b/src/qcommon/cvar.c
@@ -1118,6 +1118,9 @@ cvar_t *Cvar_Unset(cvar_t *cv)
{
cvar_t *next = cv->next;
+ // note what types of cvars have been modified (userinfo, archive, serverinfo, systeminfo)
+ cvar_modifiedFlags |= cv->flags;
+
if(cv->name)
Z_Free(cv->name);
if(cv->string)