Fixed some errors from the last refactor

This commit is contained in:
Pao
2023-02-03 14:39:46 +01:00
parent c19a586110
commit d8805cc6e2
7 changed files with 69 additions and 79 deletions

View File

@@ -41,7 +41,7 @@ function TocResetEverything()
-- Destroy the amputation or prosthesis item
for _, v in ipairs(GetBodyParts()) do
-- TODO This is incredibly shitty
-- TODO This is incredibly shitty, but we can't use worn items since we need to consider the case that the item wasn't applied
local amputation_item_name = TocFindAmputationOrProsthesisName(v, player, "Amputation")
local prosthesis_item_name = TocFindAmputationOrProsthesisName(v, player, "Prosthesis")