summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-10 20:32:29 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-10 20:32:29 +0200
commit56fe4203025b373ce9c6d29b90a28533964e8287 (patch)
tree06c40c2d9a8c9e6e68eba9dc4221db1118aaea14 /data
parentb75db5a36c04b0def01673b1ffabce40438a2b9f (diff)
uno plugin: pick or pass are the same when +X are pending
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/games/uno.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index 1dc77312..7a1477d2 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -682,7 +682,7 @@ class UnoPlugin < Plugin
if g.player_has_picked
m.reply _("you already picked a card")
elsif g.picker > 0
- m.reply _("you can't pick a card")
+ g.pass(m.source)
else
g.pick_card(m.source)
end