mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-28 11:12:24 +02:00
Fixed typo
This commit is contained in:
parent
aaf8b9f685
commit
051592417b
@ -1287,7 +1287,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
} else {
|
||||
// If not a fusion, just get the second type from the species, checking for overrides
|
||||
secondType = (overrideTypes && this.customPokemonData.types.length > 1 && this.customPokemonData.types[1] !== Type.UNKNOWN)
|
||||
? this.customPokemonData.types[0] : speciesForm.type1;
|
||||
? this.customPokemonData.types[0] : speciesForm.type2;
|
||||
}
|
||||
|
||||
if (secondType) {
|
||||
|
Loading…
Reference in New Issue
Block a user