From 223a66c925ea7cbd1607516ec5c089d6d500c2f2 Mon Sep 17 00:00:00 2001 From: Morosophos Date: Thu, 15 Oct 2020 13:25:59 +0300 Subject: [PATCH] Write record markers inside anon records too --- qcsrc/server/race.qc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 8e7d9d715..b6eff2a4b 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); } -- 2.39.2