Bugfix for mini id
This commit is contained in:
parent
a1eb211a19
commit
1bc4e29ac4
@ -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