]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/uno.rb
UNO!: reset must_play when changing turn
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / uno.rb
index e6a7ea189e554ef6a526ec89592930ccc0364292..6b50d03e3b85799a9cc0314cdf40ebf4f6d5dcc2 100644 (file)
@@ -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]