Merge pull request #765 from argonui/mini-cards
Stop mini cards from forming decks
This commit is contained in:
commit
2f5ce16ef7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user