Fix it for real this time

This commit is contained in:
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

View File

@ -418,7 +418,7 @@ export class GameData {
.then(response => response.text())
.then(response => {
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);
return resolve(true);
} else if (response.indexOf('Too many connections') > -1) {