mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
Saving starter preferences after every change
This commit is contained in:
parent
9fa4925224
commit
fd43266d0c
@ -4133,6 +4133,8 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
||||
this.tryUpdateValue();
|
||||
|
||||
this.updateInstructions();
|
||||
|
||||
saveStarterPreferences(this.originalStarterPreferences);
|
||||
}
|
||||
|
||||
setTypeIcons(type1: PokemonType | null, type2: PokemonType | null): void {
|
||||
@ -4568,7 +4570,6 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
||||
clear(): void {
|
||||
super.clear();
|
||||
|
||||
saveStarterPreferences(this.originalStarterPreferences);
|
||||
this.clearStarterPreferences();
|
||||
this.cursor = -1;
|
||||
this.hideInstructions();
|
||||
|
Loading…
Reference in New Issue
Block a user