mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-06 22:44:14 +00:00
Assigned four pools correctly
This commit is contained in:
@@ -16,7 +16,7 @@ class Bout
|
||||
def giveBout(matches)
|
||||
@matches = matches.sort_by{|x|[x.weight_max]}
|
||||
@matches.each_with_index do |m, i|
|
||||
bout = m.round * 100 + i
|
||||
bout = m.round * 1000 + i
|
||||
m.boutNumber = bout
|
||||
m.save
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user