From: Mario Date: Fri, 5 May 2017 18:56:02 +0000 (+1000) Subject: Only show playing message if the client is actually a player X-Git-Tag: xonotic-v0.8.5~2807 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=057c60f46f956874af713b3501e360c9c593e1e1;p=xonotic%2Fxonotic-data.pk3dir.git Only show playing message if the client is actually a player --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index a9413972a..798314159 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1953,6 +1953,7 @@ void Join(entity this) PutClientInServer(this); + if(IS_PLAYER(this)) if(teamplay && this.team != -1) Send_Notification(NOTIF_ALL, NULL, MSG_INFO, APP_TEAM_NUM(this.team, INFO_JOIN_PLAY_TEAM), this.netname); else