mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-24 14:27:37 -04:00
Fix crash when Sacred Ash from shop is used
This commit is contained in:
parent
bb7edd9ced
commit
f2e5a2eb34
1 changed files with 1 additions and 1 deletions
|
@ -3622,7 +3622,7 @@ export class SelectModifierPhase extends BattlePhase {
|
|||
}, pokemonModifierType.selectFilter, modifierType instanceof PokemonMoveModifierType ? (modifierType as PokemonMoveModifierType).moveSelectFilter : undefined, tmMoveId);
|
||||
}
|
||||
} else
|
||||
applyModifier(typeOptions[cursor].type.newModifier());
|
||||
applyModifier(modifierType.newModifier());
|
||||
|
||||
return !cost;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue