Merge pull request #797 from argonui/deck-importer
Bugfix for mini id getting by Deck Importer
This commit is contained in:
commit
c70de840f7
@ -450,7 +450,8 @@ function removeBusyZones(playerColor, zoneDecks)
|
||||
|
||||
-- check for existing minicard
|
||||
local mat = guidReferenceApi.getObjectByOwnerAndType(playerColor, "Playermat")
|
||||
local miniId = mat.getVar("activeInvestigatorId") .. "-m"
|
||||
local activeInvestigatorData = playermatApi.getActiveInvestigatorData(playerColor)
|
||||
local miniId = activeInvestigatorData.id .. "-m"
|
||||
|
||||
-- remove taboo suffix since we don't have this for minicards
|
||||
miniId = miniId:gsub("-t", "")
|
||||
|
Loading…
Reference in New Issue
Block a user