Fixed color for changed handcolor
This commit is contained in:
parent
9b0a4f5090
commit
2d95d4c48f
@ -1397,10 +1397,10 @@ function newInvestigatorCallback(newId)
|
||||
updateMessageColor()
|
||||
|
||||
-- remove existing object that was placed for a specific investigator
|
||||
local obj = guidReferenceApi.getObjectByOwnerAndType(playerColor, "InvestigatorSpecifics")
|
||||
local obj = guidReferenceApi.getObjectByOwnerAndType(matColor, "InvestigatorSpecifics")
|
||||
if obj ~= nil then
|
||||
obj.destruct()
|
||||
guidReferenceApi.editIndex(playerColor, "InvestigatorSpecifics")
|
||||
guidReferenceApi.editIndex(matColor, "InvestigatorSpecifics")
|
||||
end
|
||||
|
||||
if newId == "01005-p" or newId == "01005-pf" then -- parallel Wendy Adams
|
||||
|
Loading…
Reference in New Issue
Block a user