1
0
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:
2017-01-19 00:41:34 -05:00
parent e77b555069
commit 96dc5407da
4 changed files with 19 additions and 19 deletions

View File

@@ -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