Skip to content

Commit

Permalink
chore: test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liana-p committed Sep 1, 2024
1 parent 0e996ef commit 476628f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/narrat/src/utils/save-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ export function processAutoSave({
}

export function writeGlobalSave(globalSave: GlobalGameSave) {
saveFile.globalSave = globalSave;
save();
if (saveFile) {
saveFile.globalSave = globalSave;
save();
}
}

export function manualSave(
Expand Down

0 comments on commit 476628f

Please sign in to comment.