diff --git a/src/ts/drive/backuplocal.ts b/src/ts/drive/backuplocal.ts index 7ea51b75..1709cc26 100644 --- a/src/ts/drive/backuplocal.ts +++ b/src/ts/drive/backuplocal.ts @@ -104,6 +104,9 @@ export async function SaveLocalBackup(){ continue } await writer.write(key, await forageStorage.getItem(key)) + if(forageStorage.isAccount){ + await sleep(1000) + } } } @@ -174,6 +177,9 @@ export async function LoadLocalBackup(){ await forageStorage.setItem('assets/' + name, data) } await sleep(10) + if(forageStorage.isAccount){ + await sleep(1000) + } } } reader.readAsArrayBuffer(file)