mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Fixed glitch in pool byes receiving 2 points when you have at least 1 pool
win. Poolrounds was not returning what I was expecting.
This commit is contained in:
@@ -126,7 +126,7 @@ class Wrestler < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def hasAPoolBye
|
||||
if weight.poolRounds(allMatches) > poolMatches.size
|
||||
if weight.poolRounds(matches) > poolMatches.size
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user