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