From e8d0c5f2656ebca203aa6336233500e0967b0e30 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Fri, 26 Jan 2007 00:12:14 +0000 Subject: [PATCH] Sort azgame scores from highest to lowest --- data/rbot/plugins/azgame.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5