From c1cff02a18d7b9612ac8dda980426ccd48c775c8 Mon Sep 17 00:00:00 2001 From: maru Date: Thu, 9 May 2024 06:22:33 -0400 Subject: [PATCH] Fix bug with accounts being unable to create new saves --- src/system/game-data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/game-data.ts b/src/system/game-data.ts index 30cc7c96d..e342f337a 100644 --- a/src/system/game-data.ts +++ b/src/system/game-data.ts @@ -418,7 +418,7 @@ export class GameData { .then(response => response.text()) .then(response => { if (!response.length || response[0] !== '{') { - if (response.startsWith('failed to open save file')) { + if (response.startsWith('no rows in result set')) { 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); } else if (response.indexOf('Too many connections') > -1) {