mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-28 22:41:08 -05:00
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…
x
Reference in New Issue
Block a user