From 870ace6108023d01da3d13f1a3dfeffb60f5e82c Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Sun, 23 Feb 2025 20:10:52 +0200 Subject: [PATCH] Allow up to 256 teams elim tournament to be prepared --- app/features/tournament-bracket/core/PreparedMaps.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/features/tournament-bracket/core/PreparedMaps.ts b/app/features/tournament-bracket/core/PreparedMaps.ts index a1811835f..a358b09a4 100644 --- a/app/features/tournament-bracket/core/PreparedMaps.ts +++ b/app/features/tournament-bracket/core/PreparedMaps.ts @@ -56,6 +56,7 @@ const ELIMINATION_BRACKET_TEAM_RANGES = [ { min: 17, max: 32 }, { min: 33, max: 64 }, { min: 65, max: 128 }, + { min: 129, max: 256 }, ] as const; /** For single elimination and double elimination returns the amount of options that are the "steps" that affect the round count. Takes in currentCount as an argument, filtering out counts below that. */