diff --git a/OpenRA.Game/Widgets/WidgetUtils.cs b/OpenRA.Game/Widgets/WidgetUtils.cs index 7a3f92df7a..5be0f5a4d6 100644 --- a/OpenRA.Game/Widgets/WidgetUtils.cs +++ b/OpenRA.Game/Widgets/WidgetUtils.cs @@ -142,6 +142,11 @@ namespace OpenRA.Widgets public static string FormatTime(int ticks) { var seconds = (int)Math.Ceiling(ticks / 25f); + return FormatTimeSeconds( seconds ); + } + + public static string FormatTimeSeconds(int seconds) + { var minutes = seconds / 60; if (minutes >= 60)