mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2024-11-23 07:17:43 +01:00
Fix constellation counter
This commit is contained in:
parent
17fb18763a
commit
bb4b32a4c9
2 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@
|
|||
}
|
||||
updateCollectedCharacters = true;
|
||||
} else {
|
||||
collectedCharacters = defaultChars;
|
||||
collectedCharacters = {...defaultChars};
|
||||
}
|
||||
const collectablesNeedUpdateData = await readSave(`${prefix}collectables-updated`);
|
||||
if (collectablesNeedUpdateData === null || collectablesNeedUpdateData === true) {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue