mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-03-04 12:10:22 +00:00
Update GetTeamCounts.cs
This commit is contained in:
parent
02194d8198
commit
985232ecc6
1 changed files with 4 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue