Cleaning stuff
This commit is contained in:
@@ -25,7 +25,7 @@ end
|
||||
function ISCutLimb:start()
|
||||
|
||||
self:setActionAnim("SawLog")
|
||||
local saw_item = GetSawInInventory(self.surgeon)
|
||||
local saw_item = TocGetSawInInventory(self.surgeon)
|
||||
|
||||
|
||||
-- Return whatever object we've got in the inventory
|
||||
|
||||
@@ -51,7 +51,7 @@ function ISUninstallProsthesis:perform()
|
||||
|
||||
for _, v in ipairs(GetAcceptingProsthesisBodyPartTypes()) do
|
||||
if self.bodyPart:getType() == v then
|
||||
local part_name = FindTocBodyPartNameFromBodyPartType(v)
|
||||
local part_name = TocGetPartNameFromBodyPartType(v)
|
||||
|
||||
print("Found prost in " .. part_name)
|
||||
if part_name then
|
||||
|
||||
Reference in New Issue
Block a user