mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 06:53:27 +02:00
[Bug] Fix monotype selector image (#6471)
This commit is contained in:
parent
848c1f01e0
commit
9fc31350f8
@ -764,7 +764,7 @@ export class SingleTypeChallenge extends Challenge {
|
||||
}
|
||||
|
||||
getValue(overrideValue: number = this.value): string {
|
||||
return i18next.t(`pokemonInfo:type.${toCamelCase(PokemonType[overrideValue - 1])}`);
|
||||
return PokemonType[overrideValue - 1].toLowerCase();
|
||||
}
|
||||
|
||||
getDescription(overrideValue: number = this.value): string {
|
||||
|
Loading…
Reference in New Issue
Block a user