]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
simplify a bit
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 6 Dec 2010 10:49:26 +0000 (11:49 +0100)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 6 Dec 2010 10:49:26 +0000 (11:49 +0100)
qcsrc/server/teamplay.qc

index 871d6ab66805b33e2497673139363b808feeab76..925739e308e45683ecd20342cee99d95d55c522d 100644 (file)
@@ -150,6 +150,7 @@ void ReadGameCvars()
        }
 
        teams_matter = 0;
+       serverflags &~= SERVERFLAG_TEAMPLAY;
 }
 
 void default_delayedinit()
@@ -172,8 +173,6 @@ void InitGameplayMode()
 
        VoteReset();
 
-       teams_matter = 0;
-
        // make sure only ONE type is selected
        ReadGameCvars();
        WriteGameCvars();