Refactoring even more since why not at this point

This commit is contained in:
Pao
2023-02-20 13:00:05 +01:00
parent 9a4572258e
commit 33d4a322a1
8 changed files with 95 additions and 85 deletions

View File

@@ -55,7 +55,7 @@ local function TocDeleteOtherAmputatedLimbs(side)
-- if left hand is cut and we cut left lowerarm, then delete hand
for _, limb in pairs(TOC_limbs) do
for _, limb in pairs(TOC.limb_names) do
local part_name = "TOC.Amputation_" .. side .. "_" .. limb
local amputated_limb = getPlayer():getInventory():FindAndReturn(part_name)
if amputated_limb then