From: z411 Date: Sat, 19 Mar 2022 23:58:46 +0000 (-0300) Subject: Fixed centerprint title testing X-Git-Tag: xonotic-v0.8.5~128^2~8 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f529bbc379551287869977bf1e7fdc92aef6dc0e;p=xonotic%2Fxonotic-data.pk3dir.git Fixed centerprint title testing --- diff --git a/qcsrc/client/hud/panel/centerprint.qc b/qcsrc/client/hud/panel/centerprint.qc index e158ce585..6d509257d 100644 --- a/qcsrc/client/hud/panel/centerprint.qc +++ b/qcsrc/client/hud/panel/centerprint.qc @@ -188,7 +188,7 @@ void HUD_CenterPrint() { if(highlightedPanel == HUD_PANEL(CENTERPRINT)) { - centerprint_SetTitle(strcat("Title at ", ftos(floor(hud_configure_cp_generation_time)))); + centerprint_SetTitle(sprintf(_("Title at %s"), seconds_tostring(hud_configure_cp_generation_time))); float r; r = random();