mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 22:09: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.tryUpdateValue();
|
||||||
|
|
||||||
this.updateInstructions();
|
this.updateInstructions();
|
||||||
|
|
||||||
|
saveStarterPreferences(this.originalStarterPreferences);
|
||||||
}
|
}
|
||||||
|
|
||||||
setTypeIcons(type1: PokemonType | null, type2: PokemonType | null): void {
|
setTypeIcons(type1: PokemonType | null, type2: PokemonType | null): void {
|
||||||
@ -4568,7 +4570,6 @@ export class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
clear(): void {
|
clear(): void {
|
||||||
super.clear();
|
super.clear();
|
||||||
|
|
||||||
saveStarterPreferences(this.originalStarterPreferences);
|
|
||||||
this.clearStarterPreferences();
|
this.clearStarterPreferences();
|
||||||
this.cursor = -1;
|
this.cursor = -1;
|
||||||
this.hideInstructions();
|
this.hideInstructions();
|
||||||
|
Loading…
Reference in New Issue
Block a user