Ninjadoodle Posted October 27, 2014 Share Posted October 27, 2014 Hi Guys I can't seem to be able to reset or set browser storage through a click function. The below code doesn't do anything ... buttonDeleteProgress.click = buttonDeleteProgress.tap = function() { game.storage.set('level', 'Level1');} However, if I put it straight inside init, it works ... init: function() { game.storage.set('level', 'Level1'); If anyone has any ideas, that would be awesome! Thank you in advance Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted October 28, 2014 Author Share Posted October 28, 2014 Sorry guys, I've managed to solve my storage problem ... it was completely my fault Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.