cozuya / secret-hitler

A web adaptation of the social deduction board game Secret Hitler. https://secrethitler.io
Other
814 stars 203 forks source link

Should fix the cyclic object issue #1937

Closed iounpaladin closed 2 years ago

iounpaladin commented 2 years ago

I tested this but I don't really know how timers work so I'm keeping the debugging stuff in place in case this doesn't work properly

Vigasaurus commented 2 years ago

This fix is going completely over my head - but that's fine I guess.

iounpaladin commented 2 years ago

timer be cyclic object so we cast to primitive using hack because the function is not exposed properly