- Modified textures once again

- FIxed a bug that occured when amputating an already amputated limb (hand and then forearm)
This commit is contained in:
Pao
2023-02-01 10:47:57 +01:00
parent b83d30484a
commit 9a721492aa
36 changed files with 83 additions and 77 deletions

View File

@@ -24,9 +24,8 @@ function TocSetCorrectTextureForAmputation(item, player, cicatrized)
item:getVisual():setTextureChoice(tonumber(matched_index - 1)) -- it counts from 0, so we have to subtract 1
end
function TocSetBloodOnAmputation(player, body_part)
local body_part_type = body_part:getType()
local blood_body_part_type
if body_part_type == BodyPartType.Hand_R then