diff --git a/src/routes/wish/_summary.svelte b/src/routes/wish/_summary.svelte index 41d05cda..aeac6468 100644 --- a/src/routes/wish/_summary.svelte +++ b/src/routes/wish/_summary.svelte @@ -94,7 +94,7 @@ } updateCollectedCharacters = true; } else { - collectedCharacters = defaultChars; + collectedCharacters = {...defaultChars}; } const collectablesNeedUpdateData = await readSave(`${prefix}collectables-updated`); if (collectablesNeedUpdateData === null || collectablesNeedUpdateData === true) { diff --git a/src/stores/saveManager.js b/src/stores/saveManager.js index 9e5b67ad..8ae08ab9 100644 --- a/src/stores/saveManager.js +++ b/src/stores/saveManager.js @@ -133,7 +133,7 @@ export const getLocalSaveJson = async () => { }; export const updateSave = async (key, data, isFromRemote) => { - console.log('updateSave', key, isFromRemote); + console.log('updateSave', key, isFromRemote, data); if (!isFromRemote) { localModified.set(true); }