From 9f280f5f721707baa2b6c1ffc29796db1ac3d5e2 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 9 Feb 2024 14:48:20 -0500 Subject: [PATCH] Fix passing of arena tag arguments --- src/arena.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arena.ts b/src/arena.ts index f17f17490..656d6f433 100644 --- a/src/arena.ts +++ b/src/arena.ts @@ -398,7 +398,7 @@ export class Arena { } applyTags(tagType: ArenaTagType | { new(...args: any[]): ArenaTag }, ...args: any[]): void { - this.applyTagsForSide(tagType, ArenaTagSide.BOTH, args); + this.applyTagsForSide(tagType, ArenaTagSide.BOTH, ...args); } addTag(tagType: ArenaTagType, turnCount: integer, sourceMove: Moves, sourceId: integer, side: ArenaTagSide = ArenaTagSide.BOTH, targetIndex?: BattlerIndex): boolean {