mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-30 12:47:12 +00:00
Fix typo with checking tags for trainer switching
This commit is contained in:
parent
ec9365a8bf
commit
03e4115bd7
@ -493,7 +493,7 @@ export class Arena {
|
|||||||
}
|
}
|
||||||
|
|
||||||
findTagsOnSide(tagPredicate: (t: ArenaTag) => boolean, side: ArenaTagSide): ArenaTag[] {
|
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 {
|
lapseTags(): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user