diff --git a/solitaire.lua b/solitaire.lua index 519ecfb..5b69ae3 100644 --- a/solitaire.lua +++ b/solitaire.lua @@ -215,6 +215,11 @@ function update() end if si>=3 and si<7 and c_right then c_hover[1]=7 + if hand then + c_hover[2]=#stacks[c_hover[1]] + else + c_hover[2]=find_top_of_stack(stacks[c_hover[1]], #stacks[c_hover[1]]) + end end if si>7 and c_left then c_hover[1]=si-1