feat: set hand to nil when double click fails
parent
1d67ecdf43
commit
a7cab90b7e
|
@ -250,10 +250,10 @@ function update()
|
||||||
then
|
then
|
||||||
for i=3,6 do
|
for i=3,6 do
|
||||||
if move_sel(hand, {i,#stacks[i]}) then
|
if move_sel(hand, {i,#stacks[i]}) then
|
||||||
hand=nil
|
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
hand=nil
|
||||||
elseif hand and hover and left then
|
elseif hand and hover and left then
|
||||||
move_sel(hand,hover)
|
move_sel(hand,hover)
|
||||||
hand=nil
|
hand=nil
|
||||||
|
|
Loading…
Reference in New Issue