From: Giuseppe Bilotta Date: Wed, 8 Dec 2010 12:24:02 +0000 (+0100) Subject: UNO!: reset must_play when changing turn X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=539685183e46a9fe7f0d334688b8760a99e3d169;hp=539685183e46a9fe7f0d334688b8760a99e3d169;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git UNO!: reset must_play when changing turn After a successful challenge, the challenged player can choose to pick&pass instead of playing one of its allowed cards. In such a case, the must_play array would not get reset, preventing the next player to be able to play any of its card. Fix by resetting must_play on next_turn rather than on set_discard. ---