From: MirceaKitsune Date: Wed, 15 Sep 2010 13:38:43 +0000 (+0300) Subject: Log the team change too. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=905db1285109eb466f850665ae4ce9cc291986c8;p=voretournament%2Fvoretournament.git Log the team change too. --- diff --git a/data/qcsrc/server/teamplay.qc b/data/qcsrc/server/teamplay.qc index 297cdb1e..c829326c 100644 --- a/data/qcsrc/server/teamplay.qc +++ b/data/qcsrc/server/teamplay.qc @@ -835,15 +835,19 @@ float JoinBestTeam(entity pl, float only_return_best, float forcebestteam) { case 1: SetPlayerColors(pl, COLOR_TEAM1 - 1); + LogTeamchange(pl.playerid, pl.team, 2); return COLOR_TEAM1; case 2: SetPlayerColors(pl, COLOR_TEAM2 - 1); + LogTeamchange(pl.playerid, pl.team, 2); return COLOR_TEAM2; case 3: SetPlayerColors(pl, COLOR_TEAM3 - 1); + LogTeamchange(pl.playerid, pl.team, 2); return COLOR_TEAM3; case 4: SetPlayerColors(pl, COLOR_TEAM4 - 1); + LogTeamchange(pl.playerid, pl.team, 2); return COLOR_TEAM4; default: break;