stupid workaround to prevent cutting when... fuck me

This commit is contained in:
Pao
2023-01-15 04:17:08 +01:00
parent 33d46be4b9
commit b5741cc059
2 changed files with 9 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ end
function ISCutLimb:start()
self:setActionAnim("SawLog")
self:setActionAnim("SawLog")
local saw_item = GetSawInInventory(self.surgeon)
if saw_item then
@@ -33,7 +33,7 @@ function ISCutLimb:start()
-- TODO this doesn't work when doing it online
-- TODO this doesn't work when doing it on another player
local body_part_type = TocGetBodyPartTypeFromBodyPart(self.part_name)
local body_damage = self.patient:getBodyDamage()
local body_damage_part = body_damage:getBodyPart(body_part_type)