mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-29 20:27:18 +00:00
Fix bug with accounts being unable to create new saves
This commit is contained in:
parent
b231b887aa
commit
c1cff02a18
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user