stop mini cards from forming decks

This commit is contained in:
Chr1Z93 2024-07-08 18:12:34 +02:00
parent 905bbb9f5c
commit ac7c443717

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 -- This requires the try method as cards won't exist any more after they enter a deck, so the lines
-- can't be cleared. -- can't be cleared.
function tryObjectEnterContainer(container, object) 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) playAreaApi.tryObjectEnterContainer(container, object)
return true return true
end end