diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index 131f0673..f77d1c42 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -517,6 +517,13 @@ class UnoGame end def choose_color(user, color) + # you can only pick a color if the current color is unset + if @color + announce _("you can't pick a color now, %{p}") % { + :p => get_player(user) + } + return + end case color when 'r' @color = 'Red' |