diff --git a/src/system/game-data.ts b/src/system/game-data.ts index e7537fc52ff..45d05026316 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -517,6 +517,8 @@ export class GameData { } public clearLocalData(): void { + if (bypassLogin) + return; localStorage.removeItem(`data_${loggedInUser.username}`); for (let s = 0; s < 5; s++) localStorage.removeItem(`sessionData${s ? s : ''}_${loggedInUser.username}`);