Skip to content
Snippets Groups Projects
Commit 740a6c57 authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'debug-save' into 'pregmod-master'

Change debug dump file extension to .json

See merge request pregmodfan/fc-pregmod!3559
parents e756b22f bfbd2fdb
No related branches found
No related tags found
1 merge request!3559Change debug dump file extension to .json
......@@ -104,7 +104,7 @@ App.Debug.dumpGameState = function () {
if (oldHandler) {
oldHandler(save);
}
downloadToFile(JSON.stringify(save, null, 2), save.id + ".js", "text/plain");
downloadToFile(JSON.stringify(save, null, 2), save.id + ".json", "text/plain");
}
SugarCube.Save.serialize();
} finally {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment