Skip to content

Commit

Permalink
return after loading save in importSave
Browse files Browse the repository at this point in the history
  • Loading branch information
TehBrian committed Jul 19, 2024
1 parent 25b3cc7 commit bdbd233
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/Header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
let save: Save = decodeSave(input);
console.log('Read save from input.');
load(save);
return;
} catch (e) {
console.error('Failed to read save from input.', e);
console.log('Assuming misformatted save.');
Expand Down

0 comments on commit bdbd233

Please sign in to comment.