]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fixed centerprint title testing
authorz411 <z411@omaera.org>
Sat, 19 Mar 2022 23:58:46 +0000 (20:58 -0300)
committerz411 <z411@omaera.org>
Sat, 19 Mar 2022 23:58:46 +0000 (20:58 -0300)
qcsrc/client/hud/panel/centerprint.qc

index e158ce58519d7a9730feae8f08c856a8a5c1da3c..6d509257d87efec9ad9e39edf090ab8b1f957a93 100644 (file)
@@ -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();