1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 10:33:32 +02:00

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.
This commit is contained in:
Misa 2020-06-14 17:51:39 -07:00 committed by Ethan Lee
parent b53d2ae53f
commit 33fd589616

View File

@ -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);