]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/client.qc
Remove AvailableTeams(), instead store team number in existing teamplay global
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / client.qc
index 5843e02a35349114d6aad6b76d59c22aa943d37d..8c974b28afa84d841bc5f4c6afcab5990da1df0e 100644 (file)
@@ -1150,7 +1150,7 @@ void ClientConnect(entity this)
        if (!autocvar_sv_foginterval && world.fog != "")
                stuffcmd(this, strcat("\nfog ", world.fog, "\nr_fog_exp2 0\nr_drawfog 1\n"));
 
-       if (autocvar_sv_teamnagger && !(autocvar_bot_vs_human && AvailableTeams() == 2))
+       if (autocvar_sv_teamnagger && !(autocvar_bot_vs_human && AVAILABLE_TEAMS == 2))
                if(!MUTATOR_CALLHOOK(HideTeamNagger, this))
                        send_CSQC_teamnagger();