Some more fixes
This commit is contained in:
@@ -155,7 +155,7 @@ JCIO.CutLimb = function(partName, surgeonFactor, bandageTable, painkillerTable)
|
||||
|
||||
local jcioModData = player:getModData().JCIO
|
||||
local partsParameters = jcioModData.limbParameters
|
||||
local limbsData = jcioModData.Limbs
|
||||
local limbsData = jcioModData.limbs
|
||||
|
||||
|
||||
-- Cut Hand -> Damage in forearm
|
||||
|
||||
@@ -79,7 +79,7 @@ function JCIO.UnequipProsthesis(patient, partName, equippedProsthesis)
|
||||
|
||||
patient:setWornItem(equippedProsthesis:getBodyLocation(), nil)
|
||||
patient:getInventory():Remove(equippedProsthesis)
|
||||
jcioModData.Limbs[partName].equipped_prosthesis = nil
|
||||
jcioModData.limbs[partName].equippedProsthesis = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user