From: Mario Date: Sat, 4 Apr 2015 21:10:20 +0000 (+1000) Subject: Fix team change message showing for connecting clients X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=de9bb65704e88f09b5e611f6f61070b98232900f;p=xonotic%2Fxonotic-data.pk3dir.git Fix team change message showing for connecting clients --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index f162f5103..2a3cfc510 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -817,7 +817,7 @@ void SV_ChangeTeam(float _color) TeamchangeFrags(self); } - SetPlayerTeam(self, dteam, steam, false); + SetPlayerTeam(self, dteam, steam, !IS_CLIENT(self)); if(IS_PLAYER(self) && steam != dteam) {