#Coroutine troubles.
1 messages · Page 1 of 1 (latest)
When passing a function to coroutine.create() you need to pass the function itself, you don't want to call the function. Calling the function (with ()) will send its return value (in this case, nil) to coroutine.create()
The correct code is coroutine.create(timerTask)
Oh. I feel so dumb 