From ca9fbed974fae2df86ab0dc55ed5a4fca02e5585 Mon Sep 17 00:00:00 2001 From: James R Date: Mon, 8 Apr 2024 23:21:16 -0700 Subject: [PATCH] Podium: fix time for failed Sealed Star - Displays as --'--"-- --- src/k_podium.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/k_podium.cpp b/src/k_podium.cpp index d5164601a..205989703 100644 --- a/src/k_podium.cpp +++ b/src/k_podium.cpp @@ -720,7 +720,8 @@ void podiumData_s::Draw(void) .xy(32, 1) .align(srb2::Draw::Align::kCenter) .font(srb2::Draw::Font::kPing) - .text(va( + .text(lvl->time == UINT32_MAX ? + "--'--\"--" : va( "%i'%02i\"%02i", G_TicsToMinutes(lvl->time, true), G_TicsToSeconds(lvl->time),