Merge pull request #517 from argonui/deck-importer

Bugfix for DeckImporter
This commit is contained in:
Entrox-Licher 2023-12-21 18:39:16 -05:00 committed by GitHub
commit 6b0a889724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,9 @@ function loadCards(slots, investigatorId, bondedList, customizations, playerColo
function coinside()
local yPos = {}
local cardsToSpawn = {}
-- reset the startsInPlayCount
startsInPlayCount = 0
for cardId, cardCount in pairs(slots) do
local card = allCardsBagApi.getCardById(cardId)
if card ~= nil then