UNO: fix bug with draw/done
This commit is contained in:
parent
714b969056
commit
dce6c05439
|
@ -902,6 +902,7 @@ class UNO(callbacks.Plugin):
|
||||||
"%s draws a card (%s cards in hand)." % (nick, ncards),
|
"%s draws a card (%s cards in hand)." % (nick, ncards),
|
||||||
to=self.game[table]["channel"],
|
to=self.game[table]["channel"],
|
||||||
)
|
)
|
||||||
|
self.game[table]["players"][nick]["hasdrawn"] = False
|
||||||
|
|
||||||
turn = self.game[table]["turn"] + 1 * self.game[table]["direction"]
|
turn = self.game[table]["turn"] + 1 * self.game[table]["direction"]
|
||||||
if turn > nplayers - 1:
|
if turn > nplayers - 1:
|
||||||
|
|
Loading…
Reference in New Issue