Fixed another typo

This commit is contained in:
Wlowscha 2025-02-01 18:20:46 +01:00
parent 051592417b
commit fdb33ce48a
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -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.type2;
? this.customPokemonData.types[1] : speciesForm.type2;
}
if (secondType) {