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 871d6ab..925739e 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();