]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix notification again
authorMario <mario@smbclan.net>
Fri, 13 Nov 2015 01:32:33 +0000 (11:32 +1000)
committerMario <mario@smbclan.net>
Fri, 13 Nov 2015 01:32:33 +0000 (11:32 +1000)
qcsrc/server/teamplay.qc

index 5d80a27880ad67effb3e084f5e0d05035b1da19d..deb6032ce207a32b980a06804608cbd4303ad173 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_ALL, self, MSG_INFO, INFO_CONNECTING, self.netname);
+               Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_CONNECTING, self.netname);
 
        SetPlayerTeam(self, dteam, steam, !IS_CLIENT(self));