From 929da80037296a12876fa743d47f87cb07929b9a Mon Sep 17 00:00:00 2001 From: Mumble <171087428+frutescens@users.noreply.github.com> Date: Fri, 23 Aug 2024 12:30:44 -0700 Subject: [PATCH] Run History Export Data Patch (#3712) Co-authored-by: frutescens --- src/system/game-data.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/system/game-data.ts b/src/system/game-data.ts index e06eb5e4b74..74558b255e1 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -1366,7 +1366,8 @@ export class GameData { } else { const data = localStorage.getItem(dataKey); if (data) { - handleData(decrypt(data, bypassLogin)); + handleData(decrypt(data, (dataType !== GameDataType.RUN_HISTORY) ? bypassLogin : true)); + // This conditional is necessary because at the moment, run history is stored locally only so it has to be decoded from Base64 as if it was local } resolve(!!data); }