summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/uno.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games/uno.rb')
-rw-r--r--data/rbot/plugins/games/uno.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb
index e619027c..4eab72c2 100644
--- a/data/rbot/plugins/games/uno.rb
+++ b/data/rbot/plugins/games/uno.rb
@@ -544,6 +544,10 @@ class UnoGame
}
deal(p, @picker)
@picker = 0
+ # make sure that if this is the "pick and pass" after a W+4,
+ # then the following player cannot do a challenge:
+ @last_discard = nil
+ @last_color = nil
else
if @player_has_picked
announce _("%{p} passes turn") % { :p => p }