I just got the latest GGData off of github, and replaced my ICE integration with GGData, replaced all the ice calls with the newer GGData ones (store changed to set, etc.)
With Ice, when I wanted to reset all my game data I would run the box:destroy(); call. That worked, then I could start loading the box back up with stuff. But now with GGData, if I try to do the destroy, then the next time I do a save() it errors:
File: GGData.lua
Line: 176
Bad argument #1 to ‘mkdir’ (string expected, got nil)
If, I restart the app, it’s fine, cause I recreate the box I think…
I tried doing a destroy then recreating the box, and it still had all the same data in it.
What is the easiest method to just delete everything in the box, and still be able to start saving to the box again.