stop mini cards from forming decks
This commit is contained in:
parent
905bbb9f5c
commit
ac7c443717
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user