diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-09 22:24:40 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-09 22:24:40 +0200 |
commit | 17f0df8d5ad664ebce6076038eb0472080e9e339 (patch) | |
tree | 308a20e0924a28986426193c0fd019377b803bb5 /data/rbot/plugins/games/uno.rb | |
parent | 1e41b1496490a9cd9d97b9196b65f162397570df (diff) |
uno plugin: sort dealt cards too
Diffstat (limited to 'data/rbot/plugins/games/uno.rb')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index d3b6cbf8..877d95c4 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -476,6 +476,7 @@ class UnoGame end end end + picked.sort! notify player, _("You picked %{picked}") % { :picked => picked.join(' ') } player.cards += picked player.cards.sort! |