UI: Reload immediately after importing, deleting save data or killing all scripts (#2697)

This commit is contained in:
catloversg
2026-04-28 14:08:13 +07:00
committed by GitHub
parent 99afa3cd50
commit 4a91a71891
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ class BitburnerSaveObject implements BitburnerSaveObjectType {
dialogBoxCreate(`Cannot import save data: ${error}`);
return;
}
setTimeout(() => location.reload(), 1000);
setTimeout(() => location.reload(), 0);
}
async getSaveDataFromFile(files: FileList | null): Promise<SaveData> {