Ninjadoodle Posted March 5, 2015 Report Share Posted March 5, 2015 Hi guys To reset a level, I would normally just type in it's name manually, but I was wondering whether this should work ... game.system.setScene(game.system.currentSceneName); I've tested it and nothing happens. if I do console.log(game.system.currentSceneName); I get undefined Thank you for any suggestions! Link to comment Share on other sites More sharing options...
enpu Posted March 5, 2015 Report Share Posted March 5, 2015 What engine version are you using? Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 5, 2015 Author Report Share Posted March 5, 2015 Hi @enpu I'm testing with the latest develop version. Link to comment Share on other sites More sharing options...
enpu Posted March 5, 2015 Report Share Posted March 5, 2015 it's changed into game.system.sceneName Link to comment Share on other sites More sharing options...
Ninjadoodle Posted March 5, 2015 Author Report Share Posted March 5, 2015 Hi @enpu Awesome, thank you! Link to comment Share on other sites More sharing options...
Recommended Posts