Fix save data not loading on login

This commit is contained in:
Flashfyre committed 2024-02-04 00:49:57 -05:00
1 parent ac456fc5ba
commit 550c65d6f5
2 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -220,7 +220,7 @@ export class GameData {
});
}
private loadSystem(): Promise<boolean> {
public loadSystem(): Promise<boolean> {
return new Promise<boolean>(resolve => {
if (bypassLogin && !localStorage.hasOwnProperty('data'))
return false;