From: Mario Date: Tue, 31 Jan 2017 15:06:08 +0000 (+1000) Subject: Don't show anonymous record message in CTF X-Git-Tag: xonotic-v0.8.2~253 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f97e1d0bf638e5c6e3dd2e8ae6bf1807b4a77bd2;p=xonotic%2Fxonotic-data.pk3dir.git Don't show anonymous record message in CTF --- diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 1550cd2a3..a70cc8825 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -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; }