Fix it for real this time

pull/646/head^2
maru 2024-05-09 07:30:19 -04:00
parent c1cff02a18
commit 7f0362e124
No known key found for this signature in database
GPG Key ID: 37689350E9CD0F0D
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ export class GameData {
.then(response => response.text()) .then(response => response.text())
.then(response => { .then(response => {
if (!response.length || response[0] !== '{') { if (!response.length || response[0] !== '{') {
if (response.startsWith('no rows in result set')) { if (response.startsWith('sql: 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); 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); return resolve(true);
} else if (response.indexOf('Too many connections') > -1) { } else if (response.indexOf('Too many connections') > -1) {