Skip to content

Commit

Permalink
change(update): Add settings to update save backups (pokeclicker#5383)
Browse files Browse the repository at this point in the history
  • Loading branch information
umbralOptimatum authored Jun 25, 2024
1 parent 0d5c0ad commit d7bf725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/Update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,7 @@ class Update implements Saveable {
const settingsData = this.getSettingsData();

// Save the data by stringifying it, so that it isn't mutated during update
const backupSaveData = JSON.stringify({ player: playerData, save: saveData });
const backupSaveData = JSON.stringify({ player: playerData, save: saveData, settings: settingsData });

const button = document.createElement('a');
try {
Expand Down

0 comments on commit d7bf725

Please sign in to comment.