Fixes cause I'm dum

This commit is contained in:
ZioPao
2023-11-16 01:46:41 +01:00
parent 9a4d07900c
commit cda3a61d2a
2 changed files with 6 additions and 5 deletions

View File

@@ -150,7 +150,8 @@ function AmputationHandler:execute(damagePlayer)
CachedDataHandler.AddAmputatedLimb(username, self.limbName)
CachedDataHandler.CalculateHighestAmputatedLimbs(username)
-- If the part was actually infected, heal the player
-- TODO Check infection level!
-- If the part was actually infected, heal the player, if they were in time
if bodyPart:IsInfected() and not modDataHandler:getIsIgnoredPartInfected() then
PlayerHandler.HealZombieInfection(bd, bodyPart, self.limbName, modDataHandler)
end