mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-10 15:50:50 +00:00
Added functionality for a tournament director to move a wrestler to a pool that has a bye for greater flexibility
This commit is contained in:
@@ -5,11 +5,11 @@ class GeneratePoolNumbers
|
||||
|
||||
def savePoolNumbers
|
||||
if @weight.pools == 4
|
||||
saveFourPoolNumbers(@weight.wrestlers)
|
||||
saveFourPoolNumbers(@weight.wrestlersWithoutPool)
|
||||
elsif @weight.pools == 2
|
||||
saveTwoPoolNumbers(@weight.wrestlers)
|
||||
saveTwoPoolNumbers(@weight.wrestlersWithoutPool)
|
||||
elsif @weight.pools == 1
|
||||
saveOnePoolNumbers(@weight.wrestlers)
|
||||
saveOnePoolNumbers(@weight.wrestlersWithoutPool)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user