tick
tick copied to clipboard
Using "after" function makes "stop" function fail
Hi! Not sure you're still maintaining this repo but I'm using it and found this issue. This code:
t = tick.delay(function() print("cat") end, 1)
:after(function() print("dog") end, 1)
t:stop()
seems to cause t:stop() to fail and t to be executed anyways.
Thanks!
This syntax solves the issue
t = tick.delay(function() print("cat") end, 1)
t:after(function() print("dog") end, 1)
t:stop()