diff --git a/src/field/arena.ts b/src/field/arena.ts index 76c58dbe2d9..60d08e01bae 100644 --- a/src/field/arena.ts +++ b/src/field/arena.ts @@ -493,7 +493,7 @@ export class Arena { } findTagsOnSide(tagPredicate: (t: ArenaTag) => boolean, side: ArenaTagSide): ArenaTag[] { - return this.tags.filter(t => tagPredicate && (side === ArenaTagSide.BOTH || t.side === ArenaTagSide.BOTH || t.side === side)); + return this.tags.filter(t => tagPredicate(t) && (side === ArenaTagSide.BOTH || t.side === ArenaTagSide.BOTH || t.side === side)); } lapseTags(): void {