I am having a problem with purging my game scene from the Game Over overlay… From the overlay, the menu button calls a function to go to the menu scene, and in the GameOver destroyScene function I have storyboard.purgeScene( "game" )
. This results in this error:
Runtime error
?:0: attempt to index field 'contentBounds' (a nil value)
stack traceback:
[C]: ?
?: in function '?'
?: in function 'gotoScene'
...jacob/Development/BalloonPop/BalloonPop/gameOver.lua:46: in function 'onRelease'
?: in function <?:200>
?: in function <?:229>
What’s going on?
Thanks! [import]uid: 144504 topic_id: 33209 reply_id: 333209[/import]