1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-12 16:59:00 +00:00

New bracket positions for double elim brackets. Each bracket position will now wrestle during the same round. Made a rake task to migrate previous matches to the new bracket positions.

This commit is contained in:
2025-04-02 16:23:20 -04:00
parent f32e711d2b
commit 9c25a6cc39
29 changed files with 1138 additions and 756 deletions

View File

@@ -30,7 +30,7 @@ class GenerateTournamentMatches
end
def postMatchCreationActions
moveFinalsMatchesToLastRound
moveFinalsMatchesToLastRound if ! @tournament.tournament_type.include? "Regular Double Elimination"
assignBouts
@tournament.reset_and_fill_bout_board
@tournament.curently_generating_matches = nil