From 7d95ce2aaa4fff134a72f81a2dca779b8284dec4 Mon Sep 17 00:00:00 2001 From: Timberpoes Date: Sun, 16 Feb 2020 22:28:02 +0000 Subject: [PATCH] Fix shuttle timer not displaying leading 0 (#49366) The shuttle timer on the status displays doesn't display leading 0s in the seconds counter for numbers less than 10. --- code/modules/shuttle/shuttle.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm index e9bdf785464..e532631a3af 100644 --- a/code/modules/shuttle/shuttle.dm +++ b/code/modules/shuttle/shuttle.dm @@ -704,7 +704,7 @@ if(timeleft > 1 HOURS) return "--:--" else if(timeleft > 0) - return "[add_leading(num2text((timeleft / 60) % 60), 2, "0")]:[add_leading(num2text(timeleft % 60), 2, " ")]" + return "[add_leading(num2text((timeleft / 60) % 60), 2, "0")]:[add_leading(num2text(timeleft % 60), 2, "0")]" else return "00:00"