]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/teamplay.qc
what the crap? WHY OH WHY are the teams even forced in campaign?
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / teamplay.qc
index d47115e8fe6cf37f67ce3d005460d45f5e708521..83c494d0982ea0c6f252d44c57508a5b6dee8791 100644 (file)
@@ -629,11 +629,7 @@ void CheckAllowedTeams (entity for_whom)
        c1 = c2 = c3 = c4 = -1;
        cb1 = cb2 = cb3 = cb4 = 0;
 
        c1 = c2 = c3 = c4 = -1;
        cb1 = cb2 = cb3 = cb4 = 0;
 
-       if(autocvar_g_campaign && for_whom && clienttype(for_whom) == CLIENTTYPE_REAL)
-       {
-               c1 = 0; // only allow RED team for player joining
-       }
-       else if(g_onslaught)
+       if(g_onslaught)
        {
                // onslaught is special
                head = findchain(classname, "onslaught_generator");
        {
                // onslaught is special
                head = findchain(classname, "onslaught_generator");