]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Try to fix vote reason string
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index 36567b4986af079bc7a7a9270afef42fe0f90ec0..d363de52759811d727c8bc232bbbaf536bfd9544 100644 (file)
@@ -159,6 +159,7 @@ void ClientCommand_join(float request)
                                                
                                                self.classname = "player";
                                                PlayerScore_Clear(self);
+                                               Kill_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER_CPID, CPID_PREVENT_JOIN);
                                                Send_Notification(NOTIF_ALL, world, MSG_INFO, INFO_JOIN_PLAY, self.netname);
                                                PutClientInServer();
                                        }