mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Ran Biome
This commit is contained in:
parent
a5306b9400
commit
6a8a8e3ca0
@ -844,8 +844,8 @@ export class Arena {
|
||||
for (const tag of this.tags) {
|
||||
// Skip tags of different types or on the wrong side of the field
|
||||
if (
|
||||
!tagTypes.includes(tag.tagType) ||
|
||||
!(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side)
|
||||
!tagTypes.includes(tag.tagType)
|
||||
|| !(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side)
|
||||
) {
|
||||
leftoverTags.push(tag);
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user