]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Only show playing message if the client is actually a player
authorMario <mario@smbclan.net>
Fri, 5 May 2017 18:56:02 +0000 (04:56 +1000)
committerMario <mario@smbclan.net>
Fri, 5 May 2017 18:56:02 +0000 (04:56 +1000)
qcsrc/server/client.qc

index a9413972ad2189777c90ea6fdf370e13013c8b84..798314159e9ba208dd062fae2c0983f43b53e9a3 100644 (file)
@@ -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