Don't update user info on save for optimization
parent
4fcea107ab
commit
72b4552b01
|
@ -250,11 +250,6 @@ export class GameData {
|
|||
public saveSystem(): Promise<boolean> {
|
||||
return new Promise<boolean>(resolve => {
|
||||
this.scene.ui.savingIcon.show();
|
||||
updateUserInfo().then(response => {
|
||||
if (!response[0]) {
|
||||
this.scene.ui.savingIcon.hide();
|
||||
return resolve(false);
|
||||
}
|
||||
const data: SystemSaveData = {
|
||||
trainerId: this.trainerId,
|
||||
secretId: this.secretId,
|
||||
|
@ -302,7 +297,6 @@ export class GameData {
|
|||
resolve(true);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
public loadSystem(): Promise<boolean> {
|
||||
|
|
Loading…
Reference in New Issue