Having an issue with a loaded XML entering the SaveState when the game is saved to the PC using JSON. All the data in the XML file is being included in the save file, making it quite large.
Since there is no way to set a No Save behavior on a file (that I can see), I was wondering if there was a way around it.
Develop games in your browser. Powerful, performant & highly capable.
Figured out a workaround, going to leave it here in case anyone else searches for the same thing.
Use AJAX to load a blank XML right before the SaveState, and then Request the original XML file after the save is complete.