Changed getString to return minutes when >= 120

seconds and hours when >= 120 minutes rather than 1000
This commit is contained in:
2019-03-29 13:07:57 -04:00
parent 0ea837d86c
commit 7b3e976418

View File

@@ -117,13 +117,13 @@ class Stopwatch:
#If the resolution counter reached 3 we may need to change to minutes or hours
#Check if seconds is low enough resolution
if(time >= 1000):
if(time >= 120):
#If not, change it to minutes
time /= 60
resCnt += 1
#Check if minutes is low enough resolution
if(time >= 1000):
if(time >= 120):
#If not, change it to hours
time /= 60
resCnt += 1