summaryrefslogtreecommitdiff
path: root/lib/scoring/fibonacci_peer_with_blowout.rb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-29 16:11:57 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-29 16:11:57 -0400
commiteed512268e4e0a0b7c5f9dddd6e36773fbee6bad (patch)
treed806a402c3379e9fd1357d2e72620d10c9c1f4f1 /lib/scoring/fibonacci_peer_with_blowout.rb
parent577f203243b1ac914a3ee3f4635005be06d637c6 (diff)
scoring accepts matches
Diffstat (limited to 'lib/scoring/fibonacci_peer_with_blowout.rb')
-rw-r--r--lib/scoring/fibonacci_peer_with_blowout.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scoring/fibonacci_peer_with_blowout.rb b/lib/scoring/fibonacci_peer_with_blowout.rb
index ea4dec5..a13d76c 100644
--- a/lib/scoring/fibonacci_peer_with_blowout.rb
+++ b/lib/scoring/fibonacci_peer_with_blowout.rb
@@ -1,7 +1,7 @@
module Scoring
module FibonacciPeerWithBlowout
- def self.stats_needed
- return ["votes", "win", "blowout"] + @match.users.map{|u|"review_from_#{u.user_name}"}
+ def self.stats_needed(match)
+ return ["votes", "win", "blowout"] + match.users.map{|u|"review_from_#{u.user_name}"}
end
def self.score(match)