From 4776347efa372b2ccfe36a66d87d700d88790fd8 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Fri, 22 Dec 2023 00:34:43 +0100 Subject: [PATCH] bugfix for startsInPlayTracker --- src/arkhamdb/DeckImporterMain.ttslua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arkhamdb/DeckImporterMain.ttslua b/src/arkhamdb/DeckImporterMain.ttslua index feeae8c4..13f009cb 100644 --- a/src/arkhamdb/DeckImporterMain.ttslua +++ b/src/arkhamdb/DeckImporterMain.ttslua @@ -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