More cleaning, first stuff to implement mp compatibile prosthesis equipping
This commit is contained in:
@@ -76,7 +76,7 @@ function TheOnlyCure.HealSpecificPart(toc_data, part_name, player)
|
||||
|
||||
|
||||
local body_damage = player:getBodyDamage()
|
||||
local body_part_type = body_damage:getBodyPart(TOC_getBodyPart(part_name))
|
||||
local body_part_type = body_damage:getBodyPart(TocGetBodyPartTypeFromBodyPart(part_name))
|
||||
if not body_part_type then
|
||||
print("TOC ERROR : Can't update health of " .. part_name);
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user