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}
|
* - The tag is added to / removed from {@linkcode NonSerializableArenaTagType} or {@linkcode SerializableArenaTagType}
|
||||||
*/
|
*/
|
||||||
export enum ArenaTagType {
|
export enum ArenaTagType {
|
||||||
NONE = "NONE",
|
NONE = "NONE",
|
||||||
MUD_SPORT = "MUD_SPORT",
|
MUD_SPORT = "MUD_SPORT",
|
||||||
WATER_SPORT = "WATER_SPORT",
|
WATER_SPORT = "WATER_SPORT",
|
||||||
SPIKES = "SPIKES",
|
SPIKES = "SPIKES",
|
||||||
|
@ -844,8 +844,8 @@ export class Arena {
|
|||||||
for (const tag of this.tags) {
|
for (const tag of this.tags) {
|
||||||
// Skip tags of different types or on the wrong side of the field
|
// Skip tags of different types or on the wrong side of the field
|
||||||
if (
|
if (
|
||||||
!tagTypes.includes(tag.tagType) ||
|
!tagTypes.includes(tag.tagType)
|
||||||
!(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side)
|
|| !(side === ArenaTagSide.BOTH || tag.side === ArenaTagSide.BOTH || tag.side === side)
|
||||||
) {
|
) {
|
||||||
leftoverTags.push(tag);
|
leftoverTags.push(tag);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user