mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-11 06:04:33 +00:00
Autobalance refinement
One counter
This commit is contained in:
parent
f7eea7f361
commit
f7bf26f5c3
2 changed files with 14 additions and 37 deletions
|
|
@ -60,6 +60,8 @@ function StatsUnbalanceSound( %game, %client, %respawn )
|
|||
else if( $Team1Difference >= 2 || $Team2Difference >= 2 )
|
||||
{
|
||||
messageAll('MsgTeamBalanceNotify', '\c1Teams are unbalanced: \c0Autobalance Initializing.~wgui/vote_nopass.wav');
|
||||
//Schedule a GetCounts update before the autobalance fire
|
||||
schedule(22000, 0, "ResetClientChangedTeams");
|
||||
schedule(30000, 0, "Autobalance", %game, %client, %respawn);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue