Fix fusion icon variant id (#747)

This commit is contained in:
Xavion3 2024-05-12 04:15:01 +10:00 committed by GitHub
parent 6b49b4f469
commit 34aa68df14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
}
getFusionIconId(ignoreOverride?: boolean): string {
return this.getFusionSpeciesForm(ignoreOverride).getIconId(this.getFusionGender(ignoreOverride) === Gender.FEMALE, this.fusionFormIndex, this.fusionShiny, this.variant);
return this.getFusionSpeciesForm(ignoreOverride).getIconId(this.getFusionGender(ignoreOverride) === Gender.FEMALE, this.fusionFormIndex, this.fusionShiny, this.fusionVariant);
}
getSpeciesForm(ignoreOverride?: boolean): PokemonSpeciesForm {