fix: add set `cards_in_meld_draft` equal to an array

dev
LeRoyce Pearson 2024-02-18 00:55:34 -07:00
parent bffbd29614
commit 3ab5052d0c
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ player_state_action = {
player_state_secondary_action = {
update=function(point_of_interest)
if cards_in_hand:contains(point_of_interest.interest) then
cards_in_meld_draft=CardStack:new(point_of_interest.interest)
cards_in_meld_draft=CardStack:new({ point_of_interest.interest })
elseif point_of_interest.interest=="Discard" then
if #cards_in_meld_draft==1 then
table.remove(cards_in_hand, cards_in_hand:index_of(cards_in_meld_draft[1]))