Have a new problem with the timer script
When I run the project locally, everything looks fine.
When I run it on an iPhone 6 with last iOS version, it still works fine but I have the following error message in the console when the timer is completed:
ERROR:SCRIPT: invalid key to 'next'
[C]: in function '(for generator)'
main.timer:45: in function 'update'
laser/laser_controller.script:111: in function
The update function of my script has only this:
function update(self, dt)
If I run the game on older devices with iOS 7, they freeze in that same moment (when I get the error log on other devices).
Don't know if it can help, but I'm using two timers (the second starts when the first one is done) and I get this error message when the second timer is done (and that point, the first timer should start again).