mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-23 19:24:38 -05:00
Fix round robin prepared maps for group size >4
This commit is contained in:
parent
8e16a938be
commit
f2eccf96ae
|
|
@ -575,9 +575,10 @@ function teamCountAdjustedBracketData({
|
|||
case "round_robin":
|
||||
// ensure a full bracket (no bye round) gets generated even if registration is underway
|
||||
return bracket.generateMatchesData(
|
||||
nullFilledArray(TOURNAMENT.DEFAULT_TEAM_COUNT_PER_RR_GROUP).map(
|
||||
(_, i) => i + 1,
|
||||
),
|
||||
nullFilledArray(
|
||||
bracket.settings?.teamsPerGroup ??
|
||||
TOURNAMENT.DEFAULT_TEAM_COUNT_PER_RR_GROUP,
|
||||
).map((_, i) => i + 1),
|
||||
);
|
||||
case "single_elimination":
|
||||
case "double_elimination":
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user