Add outage handling
This commit is contained in:
1 parent
5f0815bc3c
commit
eb5bdb07a8
5 files changed
+139
-42
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user