Skip to content
Snippets Groups Projects
Commit bfbd2fdb authored by ezsh's avatar ezsh
Browse files

Change debug dump file extension to .json

parent e756b22f
Branches
Tags
No related merge requests found
......@@ -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.
Please register or to comment