1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Fixed creating a teampointadjust with a wrestler

This commit is contained in:
2023-01-19 22:48:41 +00:00
parent 86bb0b8410
commit 1ee886abd3
2 changed files with 4 additions and 2 deletions

View File

@@ -14,9 +14,11 @@ class AdvanceWrestler
end
def advance_raw
if @last_match && @last_match.finished?
pool_to_bracket_advancement if @tournament.tournament_type == "Pool to bracket"
DoubleEliminationAdvance.new(@wrestler, @last_match).bracket_advancement if @tournament.tournament_type.include? "Modified 16 Man Double Elimination" or
@tournament.tournament_type.include? "Regular Double Elimination"
@tournament.tournament_type.include? "Regular Double Elimination"
end
end
def pool_to_bracket_advancement