mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Update GetTeamCounts.cs
This commit is contained in:
parent
02194d8198
commit
985232ecc6
|
|
@ -53,8 +53,10 @@ function GetTeamCounts( %game, %client, %respawn )
|
|||
|
||||
//Pick a client for autobalance
|
||||
%team = %client.team;
|
||||
if(%client.score <= %lastclient[%team].score || %lastclient[%team] $= "") %teamcanidate[%team] = %client;
|
||||
%lastclient[%team] = %client;
|
||||
if(%client.score < %lastclient[%team].score || %lastclient[%team] $= "") {
|
||||
%teamcanidate[%team] = %client;
|
||||
}
|
||||
%lastclient[%team] = %client;
|
||||
|
||||
//Check ver
|
||||
if(!%client.isAIControlled()) //No bots
|
||||
|
|
|
|||
Loading…
Reference in a new issue