accuracy_resend(this);
if (this.team < 0)
- JoinBestTeam(this, true);
+ JoinBestTeamForBalance(this, true);
entity spot = SelectSpawnPoint(this, false);
if (!spot) {
{
if(this.killindicator_teamchange == -1)
{
- JoinBestTeam( this, true );
+ JoinBestTeamForBalance(this, true);
}
else if(this.killindicator_teamchange == -2)
{
int playerid_save = this.playerid;
this.playerid = 0; // silent
- JoinBestTeam(this, false); // if the team number is valid, keep it
+ JoinBestTeamForBalance(this, false); // if the team number is valid, keep it
this.playerid = playerid_save;
if (autocvar_sv_spectate || autocvar_g_campaign || this.team_forced < 0) {
if(!this.team_selected)
if(autocvar_g_campaign || autocvar_g_balance_teams)
- JoinBestTeam(this, true);
+ JoinBestTeamForBalance(this, true);
if(autocvar_g_campaign)
campaign_bots_may_start = true;