rename teamplay_default to teamplay_mode, stop using the "teamplay" cvar (more cleanu...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / sv_main.qc
index aef4031b7e1cd26f6de3e29c6a920986f9971fe9..0a170635b877781576890064bff53e450ce4dda7 100644 (file)
@@ -182,11 +182,6 @@ void StartFrame (void)
        if (timeoutStatus == 1) // just before the timeout (when timeoutStatus will be 2)
                orig_slowmo = cvar("slowmo"); // slowmo will be restored after the timeout
 
-       if(teams_matter && !autocvar_teamplay)
-               cvar_set("teamplay", "3"); // this also updates the autocvar
-       if(!teams_matter && autocvar_teamplay)
-               cvar_set("teamplay", "0"); // this also updates the autocvar
-
        skill = cvar("skill");
 
        Spawnqueue_Check();