Fixed bug that was present in the release

This commit is contained in:
Pao
2023-02-20 22:07:18 +01:00
parent 1fd1882d92
commit 42ffca3dba

View File

@@ -139,17 +139,6 @@ local function SetHealthStatusForBodyPart(part_data, part_name, player)
if (not player:HasTrait("Insensitive")) and ZombRand(1, 11) > 5 then
player:getTraits():add("Insensitive")
end
-- if the player gets attacked and damaged in a cut area we have to reset it here since it doesn't make any sense
body_part:setBleeding(false);
body_part:setDeepWounded(false)
body_part:setBleedingTime(0)
body_part:setDeepWoundTime(0)
body_part:SetBitten(false)
body_part:setBiteTime(0)
part_data.is_infected = false
end
end