Skip removed mats
This commit is contained in:
parent
0958f6fa7e
commit
0e6f0df84f
@ -201,7 +201,8 @@ function loadDecksCoroutine()
|
||||
if not allCardsBagApi.isIndexReady() then return end
|
||||
matsWithInvestigator = playermatApi.getUsedMatColors()
|
||||
|
||||
for _, matColor in ipairs({ "White", "Orange", "Green", "Red" }) do
|
||||
local matObjects = guidReferenceApi.getObjectsByType("Playermat")
|
||||
for matColor, _ in pairs(matObjects) do
|
||||
local deckId = _G[string.lower(matColor) .. "DeckId"]
|
||||
if deckId ~= nil and deckId ~= "" then
|
||||
buildDeck(matColor, deckId)
|
||||
|
Loading…
Reference in New Issue
Block a user