mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-24 19:09:02 -06:00
easter egg
scholars remain divided on whether 15640 frames should also be rounded up so as to never jump by .03, or whether it should remain rounded down so as to only have one exceptional timestamp rather than two
This commit is contained in:
parent
a79552a6f3
commit
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