Run History Export Data Patch (#3712)
Co-authored-by: frutescens <info@laptop>
This commit is contained in:
parent
c5a66326dd
commit
929da80037
|
@ -1366,7 +1366,8 @@ export class GameData {
|
||||||
} else {
|
} else {
|
||||||
const data = localStorage.getItem(dataKey);
|
const data = localStorage.getItem(dataKey);
|
||||||
if (data) {
|
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);
|
resolve(!!data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue