Some fixes and a compat function for older versions

This commit is contained in:
Pao
2023-01-18 04:12:44 +01:00
parent 332c130dc1
commit 2a2b6ef978
5 changed files with 60 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ function ISInstallProsthesis:perform()
return
end
local prosthesis_name =TocFindCorrectClothingProsthesis(prosthesis_base_name, part_name)
local prosthesis_name = TocFindCorrectClothingProsthesis(prosthesis_base_name, part_name)
self.cloth = self.character:getInventory():AddItem(prosthesis_name)
if self.cloth ~= nil then