From 75075c6fabe3804a6c80abd7364232355ac3e7ed Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 11 Apr 2024 00:18:16 -0400 Subject: [PATCH] Update missing save data handling --- src/account.ts | 1 - src/system/game-data.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/account.ts b/src/account.ts index 104ad15704c..a2ff71a6ed3 100644 --- a/src/account.ts +++ b/src/account.ts @@ -22,7 +22,6 @@ export function updateUserInfo(): Promise<[boolean, integer]> { return resolve([ true, 200 ]); } Utils.apiFetch('account/info').then(response => { - console.log(response.status); if (!response.ok) { resolve([ false, response.status ]); return; diff --git a/src/system/game-data.ts b/src/system/game-data.ts index 248a3705122..1bf3852740a 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -360,7 +360,7 @@ export class GameData { .then(response => response.text()) .then(response => { if (!response.length || response[0] !== '{') { - if (response.startsWith('failed to read save file')) { + if (response.startsWith('failed to open save file')) { this.scene.queueMessage('Save data could not be found. If this is a new account, you can safely ignore this message.', null, true); return resolve(true); }