mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 15:35:24 +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
|
//Pick a client for autobalance
|
||||||
%team = %client.team;
|
%team = %client.team;
|
||||||
if(%client.score <= %lastclient[%team].score || %lastclient[%team] $= "") %teamcanidate[%team] = %client;
|
if(%client.score < %lastclient[%team].score || %lastclient[%team] $= "") {
|
||||||
%lastclient[%team] = %client;
|
%teamcanidate[%team] = %client;
|
||||||
|
}
|
||||||
|
%lastclient[%team] = %client;
|
||||||
|
|
||||||
//Check ver
|
//Check ver
|
||||||
if(!%client.isAIControlled()) //No bots
|
if(!%client.isAIControlled()) //No bots
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue