mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Save after moveset changes
This commit is contained in:
parent
2ff9bd4652
commit
9d4bffc64a
@ -1957,6 +1957,11 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
||||
handler: () => {
|
||||
this.moveInfoOverlay.clear();
|
||||
this.clearText();
|
||||
globalScene.gameData.saveSystem().then(success => {
|
||||
if (!success) {
|
||||
return globalScene.reset(true);
|
||||
}
|
||||
});
|
||||
ui.setMode(UiMode.STARTER_SELECT);
|
||||
return true;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user