]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix connecting message only showing to the connecting player
authorMario <mario@smbclan.net>
Thu, 12 Nov 2015 21:29:27 +0000 (07:29 +1000)
committerMario <mario@smbclan.net>
Thu, 12 Nov 2015 21:29:27 +0000 (07:29 +1000)
qcsrc/server/teamplay.qc

index 1a75bf4041afd671e950b4cefced2f247055a408..5d80a27880ad67effb3e084f5e0d05035b1da19d 100644 (file)
@@ -652,7 +652,7 @@ void SV_ChangeTeam(float _color)
 
        // since this is an engine function, and gamecode doesn't have any calls earlier than this, do the connecting message here
        if(!IS_CLIENT(self))
-               Send_Notification(NOTIF_ONE, self, MSG_INFO, INFO_CONNECTING, self.netname);
+               Send_Notification(NOTIF_ALL, self, MSG_INFO, INFO_CONNECTING, self.netname);
 
        SetPlayerTeam(self, dteam, steam, !IS_CLIENT(self));