fix: set hand to nil when drawing cards
parent
d39e6a2585
commit
76f62a5e59
|
@ -258,6 +258,7 @@ function update()
|
||||||
|
|
||||||
if not last_left and hover then
|
if not last_left and hover then
|
||||||
if not exhausted and hover[1]==1 and left then
|
if not exhausted and hover[1]==1 and left then
|
||||||
|
hand=nil
|
||||||
draw_cards_to(stacks[1],stacks[2],3)
|
draw_cards_to(stacks[1],stacks[2],3)
|
||||||
if #stacks[1]==0 then
|
if #stacks[1]==0 then
|
||||||
exhausted=true
|
exhausted=true
|
||||||
|
|
Loading…
Reference in New Issue