speedcontrol / nodecg-speedcontrol

NodeCG bundle to help facilitate the running of speedrunning marathons, including overlays.
MIT License
44 stars 34 forks source link

Timer undo function does not work on finished timer on startup #86

Open zoton2 opened 4 years ago

zoton2 commented 4 years ago

How to replicate:

You will notice it appears to go into the running state, but the timer goes back to 0 and does not move.

zoton2 commented 4 years ago

I was able to fix this so it goes back to the same time that the timer was at when it was finished. If I was to store more information about the timer, for example made the timestamp update all the time, I could probably make it so you the time could actually be recovered.