diff --git a/app/features/tournament-bracket/components/StartedMatch.tsx b/app/features/tournament-bracket/components/StartedMatch.tsx index 7df81ffe7..69f062440 100644 --- a/app/features/tournament-bracket/components/StartedMatch.tsx +++ b/app/features/tournament-bracket/components/StartedMatch.tsx @@ -313,6 +313,7 @@ function FancyStageBanner({ }; const inBanPhase = + !data.matchIsOver && data.match.roundMaps?.pickBan === "BAN_2" && data.mapList && data.mapList.filter((m) => m.bannedByTournamentTeamId).length < 2; diff --git a/app/features/tournament-bracket/core/PickBan.ts b/app/features/tournament-bracket/core/PickBan.ts index 9f9ce5dd1..ea2bafd6a 100644 --- a/app/features/tournament-bracket/core/PickBan.ts +++ b/app/features/tournament-bracket/core/PickBan.ts @@ -35,6 +35,12 @@ export function turnOf({ switch (maps.pickBan) { case "BAN_2": { + if ( + isSetOverByResults({ count: maps.count, results, countType: maps.type }) + ) { + return null; + } + // typically lower seed is the "bottom team" and they pick first const [secondPicker, firstPicker] = teams;