From: Morosophos Date: Thu, 15 Oct 2020 10:25:59 +0000 (+0300) Subject: Write record markers inside anon records too X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=223a66c925ea7cbd1607516ec5c089d6d500c2f2;p=xonotic%2Fxonotic-data.pk3dir.git Write record markers inside anon records too --- diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 8e7d9d7159..b6eff2a4b2 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -349,6 +349,8 @@ void race_setTime(string map, float t, string myuid, string mynetname, entity e, return; } + write_recordmarker(e, newpos, time - TIME_DECODE(t), TIME_DECODE(t)); + // if we didn't hit a return yet, we have a new record! // if the player does not have a UID we can unfortunately not store the record, as the rankings system relies on UIDs @@ -374,7 +376,6 @@ void race_setTime(string map, float t, string myuid, string mynetname, entity e, if (showmessage) { - write_recordmarker(e, newpos, time - TIME_DECODE(t), TIME_DECODE(t)); race_send_recordtime(MSG_ALL); }