Disable the cvar wrapper system in the campaigns, since it doesn't affect a majority...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapinfo.qc
index 617bfe8..3e6478b 100644 (file)
@@ -717,9 +717,11 @@ void _MapInfo_Parse_Settemp(string pFilename, string acl, float type, string s,
                if(type == 0) // server set
                {
                        LOG_TRACE("Applying temporary setting ", t, " := ", s);
+               #if 0
                        if(cvar("g_campaign"))
                                cvar_set(t, s); // this is a wrapper and is always temporary anyway; no need to backup old values then
                        else
+               #endif
                                cvar_settemp(t, s);
                }
                else