Revert "Update"

This reverts commit f8c48f817f.
This commit is contained in:
ChocoTaco1 2021-04-13 12:19:02 -04:00
parent b99fae619e
commit b85a8d3f33

8
Classic/scripts/autoexec/GetTeamCounts.cs Executable file → Normal file
View file

@ -54,7 +54,13 @@ function GetTeamCounts(%game)
$AllPlayerCount = $HostGamePlayerCount;
//Observers
$Observers = $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]);
$Observers = 0;
for(%i = 0; %i < ClientGroup.getCount(); %i++)
{
%cl = ClientGroup.getObject(%i);
if(%cl.team $= 0)
$Observers++;
}
//echo("$PlayerCount[0] " @ $HostGamePlayerCount - ($TeamRank[1, count] + $TeamRank[2, count]));
//echo("$PlayerCount[1] " @ $TeamRank[1, count]);