Fixed color for changed handcolor

This commit is contained in:
Chr1Z93 2024-11-03 18:31:54 +01:00
parent 9b0a4f5090
commit 2d95d4c48f

View File

@ -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