mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-19 05:43:17 +00:00
Move two highest pool seeds match to last pool round
This commit is contained in:
@@ -18,6 +18,7 @@ module GeneratesTournamentMatches
|
||||
destroyAllMatches
|
||||
buildTournamentWeights
|
||||
generateMatches
|
||||
movePoolSeedsToFinalPoolRound
|
||||
end
|
||||
|
||||
def buildTournamentWeights
|
||||
@@ -51,6 +52,10 @@ module GeneratesTournamentMatches
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
def movePoolSeedsToFinalPoolRound
|
||||
self.weights.each do |w|
|
||||
w.setOriginalSeedsToWrestleLastPoolRound
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user