This commit is contained in:
frutescens 2024-10-17 19:53:35 -07:00 committed by NightKev
parent 481ec96449
commit de67d22a78

View File

@ -1245,7 +1245,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
} }
// the type added to Pokemon from moves like Forest's Curse or Trick Or Treat // the type added to Pokemon from moves like Forest's Curse or Trick Or Treat
if (this.summonData?.addedType) { if (this.summonData?.addedType && !types.includes(this.summonData?.addedType)) {
types.push(this.summonData?.addedType); types.push(this.summonData?.addedType);
} }