mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 00:29:02 -06:00
Compare commits
2 Commits
a79552a6f3
...
34fcc3f659
Author | SHA1 | Date | |
---|---|---|---|
|
34fcc3f659 | ||
|
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
Block a user