summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/azgame.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-26 00:12:14 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-01-26 00:12:14 +0000
commite8d0c5f2656ebca203aa6336233500e0967b0e30 (patch)
tree8db9c5d2ca9dceccde523f4c82cdb01391823987 /data/rbot/plugins/azgame.rb
parente0393df5027b33a44b0eac6cfa3dd29fa150fe0a (diff)
Sort azgame scores from highest to lowest
Diffstat (limited to 'data/rbot/plugins/azgame.rb')
-rw-r--r--data/rbot/plugins/azgame.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/azgame.rb b/data/rbot/plugins/azgame.rb
index ae6dbeb7..ae410e87 100644
--- a/data/rbot/plugins/azgame.rb
+++ b/data/rbot/plugins/azgame.rb
@@ -77,7 +77,7 @@ class AzGame
tries = ret[@winner].last
ret[@winner] = [t, "winner, #{tries}"]
end
- return ret.sort_by { |h| h.last.first }
+ return ret.sort_by { |h| h.last.first }.reverse
end
end