summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 22:22:27 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-09 22:22:27 +0200
commit1e41b1496490a9cd9d97b9196b65f162397570df (patch)
tree8bf9cbea5ecfc12e9e85981c7b9ed9d803978a48
parent30ddc82becc5fde75f95b1f395bd66d1de4c09a3 (diff)
uno plugin: colorize color pick
-rw-r--r--data/rbot/plugins/games/uno.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index 56a7b99c..d3b6cbf8 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -390,7 +390,9 @@ class UnoGame
announce _('what color is that?')
return
end
- announce _('color is now %{c}') % { :c => @color.downcase }
+ announce _('color is now %{c}') % {
+ :c => UnoGame.irc_color_bg(@color)+" #{@color} "
+ }
next_turn
end