Merge pull request #765 from argonui/mini-cards

Stop mini cards from forming decks
This commit is contained in:
dscarpac 2024-07-08 12:49:44 -05:00 committed by GitHub
commit 2f5ce16ef7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -185,6 +185,11 @@ end
-- This requires the try method as cards won't exist any more after they enter a deck, so the lines
-- can't be cleared.
function tryObjectEnterContainer(container, object)
-- stop mini cards from forming decks
if object.hasTag("Minicard") and container.hasTag("Minicard") then
return false
end
playAreaApi.tryObjectEnterContainer(container, object)
return true
end