Update pokemon.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-29 22:54:58 -04:00 committed by GitHub
parent adc6ff0d26
commit 0ae75363e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7793,7 +7793,6 @@ export class PokemonSummonData {
constructor(source?: PokemonSummonData | Partial<PokemonSummonData>) { constructor(source?: PokemonSummonData | Partial<PokemonSummonData>) {
if (!isNullOrUndefined(source)) { if (!isNullOrUndefined(source)) {
Object.assign(this, source) Object.assign(this, source)
// TODO: Do we need these mapping statements?
this.moveset &&= this.moveset.map(m => PokemonMove.loadMove(m)) this.moveset &&= this.moveset.map(m => PokemonMove.loadMove(m))
this.tags &&= this.tags.map(t => loadBattlerTag(t)) this.tags &&= this.tags.map(t => loadBattlerTag(t))
} }