mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-09 21:24:32 +00:00
Added TourneyNetClient options
This commit is contained in:
parent
86b966c9e8
commit
9d28557a6a
5 changed files with 135 additions and 78 deletions
|
|
@ -56,6 +56,9 @@ function GetTeamCounts( %game, %client, %respawn )
|
|||
if( %client.team == 1 && %team1random == $PlayerCount[1] ) $team1canidate = %client;
|
||||
if( %client.team == 2 && %team2random == $PlayerCount[2] ) $team2canidate = %client;
|
||||
|
||||
//Check ver
|
||||
CheckVerObserver(%client);
|
||||
|
||||
//if(!%client.isAIControlled())
|
||||
$PlayerCount[%client.team]++;
|
||||
}
|
||||
|
|
@ -81,6 +84,7 @@ function GetTeamCounts( %game, %client, %respawn )
|
|||
//Start MapRepetitionChecker
|
||||
schedule(2000, 0, "MapRepetitionChecker", %game);
|
||||
|
||||
|
||||
//Set so counter wont run when it doesnt need to.
|
||||
$GetCountsClientTeamChange = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue