bugfix for startsInPlayTracker

This commit is contained in:
Chr1Z93 2023-12-22 00:34:43 +01:00
parent 96b0caee09
commit 4776347efa

View File

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