feat: set hand to nil when double click fails

main
LeRoyce Pearson 2024-02-12 23:35:54 -07:00
parent 1d67ecdf43
commit a7cab90b7e
1 changed files with 1 additions and 1 deletions

View File

@ -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