]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Don't show anonymous record message in CTF
authorMario <mario@smbclan.net>
Tue, 31 Jan 2017 15:06:08 +0000 (01:06 +1000)
committerMario <mario@smbclan.net>
Tue, 31 Jan 2017 15:06:08 +0000 (01:06 +1000)
qcsrc/server/race.qc

index 1550cd2a3a425070054ecb7e1f5b2d1fbbb6b405..a70cc882536908117bdc2af99d6b7aed95c45a7a 100644 (file)
@@ -290,7 +290,8 @@ void race_setTime(string map, float t, string myuid, string mynetname, entity e,
 
        if(uid2name(myuid) == "^1Unregistered Player")
        {
-               Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_RACE_NEW_MISSING_NAME, mynetname, t);
+               if(showmessage)
+                       Send_Notification(NOTIF_ALL, NULL, MSG_INFO, INFO_RACE_NEW_MISSING_NAME, mynetname, t);
                return;
        }