From 56fe4203025b373ce9c6d29b90a28533964e8287 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 10 Apr 2008 20:32:29 +0200 Subject: uno plugin: pick or pass are the same when +X are pending --- data/rbot/plugins/games/uno.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3