mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-13 16:40:48 +00:00
No runner up in 8 pool
This commit is contained in:
@@ -24,7 +24,9 @@ class PoolAdvance
|
|||||||
runnerUpMatch = matches.select{|m| m.loser1_name == "Runner Up Pool #{pool}" || m.loser2_name == "Runner Up Pool #{pool}"}.first
|
runnerUpMatch = matches.select{|m| m.loser1_name == "Runner Up Pool #{pool}" || m.loser2_name == "Runner Up Pool #{pool}"}.first
|
||||||
winner = pool_placement_order.first
|
winner = pool_placement_order.first
|
||||||
runnerUp = pool_placement_order.second
|
runnerUp = pool_placement_order.second
|
||||||
runnerUpMatch.replace_loser_name_with_wrestler(runnerUp,"Runner Up Pool #{pool}")
|
if runnerUpMatch
|
||||||
|
runnerUpMatch.replace_loser_name_with_wrestler(runnerUp,"Runner Up Pool #{pool}")
|
||||||
|
end
|
||||||
winnerMatch.replace_loser_name_with_wrestler(winner,"Winner Pool #{pool}")
|
winnerMatch.replace_loser_name_with_wrestler(winner,"Winner Pool #{pool}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user