]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix team change message showing for connecting clients
authorMario <zacjardine@y7mail.com>
Sat, 4 Apr 2015 21:10:20 +0000 (07:10 +1000)
committerMario <zacjardine@y7mail.com>
Sat, 4 Apr 2015 21:10:20 +0000 (07:10 +1000)
qcsrc/server/teamplay.qc

index f162f51034b9f4875915a4158532999bc307273b..2a3cfc5103dc38621a94195c0e04a066f0959e1d 100644 (file)
@@ -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)
        {