Compare commits
2 Commits
a79552a6f3
...
34fcc3f659
Author | SHA1 | Date |
---|---|---|
Ishaan Bhardwaj | 34fcc3f659 | |
Kirby703 | 4caa268adc |
|
@ -60,6 +60,9 @@ function formatTime(frames)
|
||||||
min = math.floor(frames/3600)
|
min = math.floor(frames/3600)
|
||||||
sec = math.floor(frames/60) % 60
|
sec = math.floor(frames/60) % 60
|
||||||
hund = math.floor(frames/.6) % 100
|
hund = math.floor(frames/.6) % 100
|
||||||
|
if frames == 15641 then
|
||||||
|
hund = math.ceil(frames/.6) % 100
|
||||||
|
end
|
||||||
str = string.format("%02d:%02d.%02d", min, sec, hund)
|
str = string.format("%02d:%02d.%02d", min, sec, hund)
|
||||||
return str
|
return str
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue