Added tests for blood on limbs

This commit is contained in:
ZioPao
2024-05-05 18:02:48 +02:00
parent 17718cbbca
commit 3d4a54418c
3 changed files with 65 additions and 23 deletions

View File

@@ -145,8 +145,8 @@ end
local og_ISClothingExtraAction_perform = ISClothingExtraAction.perform
function ISClothingExtraAction:perform()
--local extraItem = InventoryItemFactory.CreateItem(self.extra)
local isProst = ProsthesisHandler.SearchAndSetupProsthesis(self.item, true)
local extraItem = InventoryItemFactory.CreateItem(self.extra)
local isProst = ProsthesisHandler.SearchAndSetupProsthesis(extraItem, true)
local group
if isProst then
group = BodyLocations.getGroup("Human")