Fixed typo

This commit is contained in:
Wlowscha 2025-02-01 18:13:45 +01:00
parent aaf8b9f685
commit 051592417b
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.type1;
? this.customPokemonData.types[0] : speciesForm.type2;
}
if (secondType) {