tournament 3.3.0 → 3.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/lib/tournament.rb +1 -1
- data/webgui/app/views/reports/_leader.html.erb +2 -2
- metadata +2 -2
data/History.txt
CHANGED
data/lib/tournament.rb
CHANGED
@@ -46,8 +46,8 @@
|
|
46
46
|
s2 = 0 - (e2.tie_breaker - pool.tournament_entry.tie_breaker).abs
|
47
47
|
end
|
48
48
|
if s1 == s2
|
49
|
-
s1 = e1.
|
50
|
-
s2 = e2.
|
49
|
+
s1 = e1.picks.maximum_score(pool.tournament_entry.picks, pool.scoring_strategy)
|
50
|
+
s2 = e2.picks.maximum_score(pool.tournament_entry.picks, pool.scoring_strategy)
|
51
51
|
end
|
52
52
|
s2 <=> s1
|
53
53
|
end.inject(nil) do |last_entry, entry|
|