Add outage handling

This commit is contained in:
Flashfyre committed 2024-04-10 01:32:49 -04:00
1 parent 5f0815bc3c
commit eb5bdb07a8
5 files changed
+139 -42

No files matched your search

+2 -2
View File
@@ -224,8 +224,8 @@ export class GameData {
public saveSystem(): Promise<boolean> {
return new Promise<boolean>(resolve => {
this.scene.ui.savingIcon.show();
updateUserInfo().then((success: boolean) => {
if (!success) {
updateUserInfo().then(response => {
if (!response[0]) {
this.scene.ui.savingIcon.hide();
return resolve(false);
}