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
@ -6,7 +6,7 @@
|
||||
* - The tag is added to / removed from {@linkcode NonSerializableArenaTagType} or {@linkcode SerializableArenaTagType}
|
||||
*/
|
||||
export enum ArenaTagType {
|
||||
NONE = "NONE",
|
||||
NONE = "NONE",
|
||||
MUD_SPORT = "MUD_SPORT",
|
||||
WATER_SPORT = "WATER_SPORT",
|
||||
SPIKES = "SPIKES",
|
||||
|
@ -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