mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01: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:
parent
b53d2ae53f
commit
33fd589616
1 changed files with 1 additions and 1 deletions
|
@ -6828,7 +6828,7 @@ std::string Game::resulttimestring()
|
||||||
{
|
{
|
||||||
//given result time in seconds:
|
//given result time in seconds:
|
||||||
std::string tempstring = "";
|
std::string tempstring = "";
|
||||||
if (timetrialresulttime > 60)
|
if (timetrialresulttime >= 60)
|
||||||
{
|
{
|
||||||
tempstring = help.twodigits(int((timetrialresulttime - (timetrialresulttime % 60)) / 60)) + ":"
|
tempstring = help.twodigits(int((timetrialresulttime - (timetrialresulttime % 60)) / 60)) + ":"
|
||||||
+ help.twodigits(timetrialresulttime % 60);
|
+ help.twodigits(timetrialresulttime % 60);
|
||||||
|
|
Loading…
Reference in a new issue