UNO: fix bug with draw/done

This commit is contained in:
oddluck 2020-07-05 05:22:07 +00:00
parent 714b969056
commit dce6c05439

View File

@ -902,6 +902,7 @@ class UNO(callbacks.Plugin):
"%s draws a card (%s cards in hand)." % (nick, ncards),
to=self.game[table]["channel"],
)
self.game[table]["players"][nick]["hasdrawn"] = False
turn = self.game[table]["turn"] + 1 * self.game[table]["direction"]
if turn > nplayers - 1: