diff --git a/src/arkhamdb/DeckImporter.ttslua b/src/arkhamdb/DeckImporter.ttslua index 8619eec4..563bd21e 100644 --- a/src/arkhamdb/DeckImporter.ttslua +++ b/src/arkhamdb/DeckImporter.ttslua @@ -454,7 +454,11 @@ function removeBusyZones(playerColor, zoneDecks) -- check for existing deck local cardsInDeckArea = 0 for _, obj in pairs(playermatApi.getDeckAreaObjects(playerColor)) do - cardsInDeckArea = cardsInDeckArea + #obj.getObjects() + if obj.type == "Card" then + cardsInDeckArea = cardsInDeckArea + 1 + elseif obj.type == "Deck" then + cardsInDeckArea = cardsInDeckArea + #obj.getObjects() + end end -- threshhold of 16 cards for skipping deck import to cover cases like Tekeli-li cards