From 1774386aa26ad412c68c68dd136138b778cd7fa2 Mon Sep 17 00:00:00 2001 From: ChocoTaco Date: Sat, 23 Feb 2019 01:05:31 -0500 Subject: [PATCH] No bots --- Classic/scripts/autoexec/GetTeamCounts.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classic/scripts/autoexec/GetTeamCounts.cs b/Classic/scripts/autoexec/GetTeamCounts.cs index 566d8c1..3a27d05 100644 --- a/Classic/scripts/autoexec/GetTeamCounts.cs +++ b/Classic/scripts/autoexec/GetTeamCounts.cs @@ -57,10 +57,11 @@ function GetTeamCounts( %game, %client, %respawn ) if( %client.team == 2 && %team2random == $PlayerCount[2] ) $team2canidate = %client; //Check ver - CheckVerObserver(%client); + if(!%client.isAIControlled()) //No bots + CheckVerObserver(%client); //if(!%client.isAIControlled()) - $PlayerCount[%client.team]++; + $PlayerCount[%client.team]++; } //echo ("$PlayerCount[0] " @ $PlayerCount[0]);