Don't update user info on save for optimization

pull/606/head
Flashfyre 2024-05-07 13:36:52 -04:00
parent 4fcea107ab
commit 72b4552b01
1 changed files with 40 additions and 46 deletions

View File

@ -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> {