Update Classic/scripts/autoexec/GetTeamCounts.cs

Formatting
This commit is contained in:
ChocoTaco 2018-11-13 15:30:41 -05:00
parent 3138e6570f
commit 2b247a4463

View file

@ -8,9 +8,9 @@ package StartTeamCounts
{ {
function CreateServer(%mission, %missionType) function CreateServer( %mission, %missionType )
{ {
parent::CreateServer(%mission, %missionType); parent::CreateServer( %mission, %missionType );
//Make sure teamchange variable is set //Make sure teamchange variable is set
ResetClientChangedTeams(); ResetClientChangedTeams();
//Whether the server auto restarts when empty or not //Whether the server auto restarts when empty or not
@ -31,7 +31,7 @@ function GetTeamCounts( %game, %client, %respawn )
CheckPUGpassword(); CheckPUGpassword();
//Get teamcounts //Get teamcounts
if($GetCountsClientTeamChange && $countdownStarted && $MatchStarted) if( $GetCountsClientTeamChange && $countdownStarted && $MatchStarted )
{ {
//Team Count code by Keen //Team Count code by Keen
$PlayerCount[0] = 0; $PlayerCount[0] = 0;