X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fgames%2Funo.rb;h=6b50d03e3b85799a9cc0314cdf40ebf4f6d5dcc2;hb=539685183e46a9fe7f0d334688b8760a99e3d169;hp=e6a7ea189e554ef6a526ec89592930ccc0364292;hpb=b781d7259bf147a47b5ee575beb255b0afa08feb;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index e6a7ea18..6b50d03e 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -331,10 +331,10 @@ class UnoGame else @special = false end - @must_play = nil end def next_turn(opts={}) + @must_play = nil @players << @players.shift @player_has_picked = false show_turn unless opts[:silent]