From 33fd589616f7a6c44eced0e996a4b3611e553853 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 14 Jun 2020 17:51:39 -0700 Subject: [PATCH] Fix time trial result displaying 00:60 instead of 01:00 If your time was exactly 60 seconds, it would display 00:60 instead of 01:00. --- desktop_version/src/Game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index 22d9bcd4..94c3d072 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -6828,7 +6828,7 @@ std::string Game::resulttimestring() { //given result time in seconds: std::string tempstring = ""; - if (timetrialresulttime > 60) + if (timetrialresulttime >= 60) { tempstring = help.twodigits(int((timetrialresulttime - (timetrialresulttime % 60)) / 60)) + ":" + help.twodigits(timetrialresulttime % 60);