fix: add set `cards_in_meld_draft` equal to an array
parent
bffbd29614
commit
3ab5052d0c
|
@ -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]))
|
||||
|
|
Loading…
Reference in New Issue