From a7cab90b7ea1c0dc4952775a0a5fa2cb46d49b33 Mon Sep 17 00:00:00 2001 From: geemili Date: Mon, 12 Feb 2024 23:35:54 -0700 Subject: [PATCH] feat: set hand to nil when double click fails --- solitaire.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solitaire.lua b/solitaire.lua index 0b0af97..958a810 100644 --- a/solitaire.lua +++ b/solitaire.lua @@ -250,10 +250,10 @@ function update() then for i=3,6 do if move_sel(hand, {i,#stacks[i]}) then - hand=nil break end end + hand=nil elseif hand and hover and left then move_sel(hand,hover) hand=nil