I am trying to switch to a scene when my game ends, and the terminal says I need a tail call. Help please?
[lua]
function updateGameDone()
storyboard.gotoScene(“ending”, “fade”, 500)
end
[/lua]
Thanks in advance
I am trying to switch to a scene when my game ends, and the terminal says I need a tail call. Help please?
[lua]
function updateGameDone()
storyboard.gotoScene(“ending”, “fade”, 500)
end
[/lua]
Thanks in advance