Excluded cards that are held

This commit is contained in:
Chr1Z93 2024-11-20 23:19:19 +01:00
parent c1e93a4881
commit 60d567b75a

View File

@ -2877,12 +2877,14 @@ function moveCardWithTokens(params)
Wait.condition(
function() stopTokenTransformUpdating(card) end,
function()
if card.held_by_color ~= nil then return true end
if card ~= nil and cardTokens[card] ~= nil and #cardTokens[card] ~= 0 then
updateTokenTransform(card)
return card.resting and not card.isSmoothMoving()
else
return true
end
return true
end
)
end