Fix passing of arena tag arguments

pull/14/head
Flashfyre 2024-02-09 14:48:20 -05:00
parent d6d9341132
commit 9f280f5f72
1 changed files with 1 additions and 1 deletions

View File

@ -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 {