From c4891f7d7c997b6875aa3415d430e508275a7fc3 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Fri, 24 Jan 2020 09:06:09 -0500 Subject: [PATCH] Move all finals matches to the last round --- app/services/tournament_services/generate_tournament_matches.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/tournament_services/generate_tournament_matches.rb b/app/services/tournament_services/generate_tournament_matches.rb index 4dc151b..d12b52b 100644 --- a/app/services/tournament_services/generate_tournament_matches.rb +++ b/app/services/tournament_services/generate_tournament_matches.rb @@ -49,7 +49,7 @@ class GenerateTournamentMatches end def postMatchCreationActions - moveFinalsMatchesToLastRound if @tournament.tournament_type == "Pool to bracket" + moveFinalsMatchesToLastRound assignBouts assignFirstMatchesToMats @tournament.curently_generating_matches = nil