somes tuff to fix before relase

This commit is contained in:
ZioPao
2024-05-02 01:24:18 +02:00
parent ff8032f26a
commit b1adefe8f3
9 changed files with 27 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ function LocalPlayerController.HandleDamage(character)
LocalPlayerController.HealZombieInfection(bd, bodyPart, limbName, dcInst)
end
else
if bodyPart:bitten() or bodyPart:IsInfected() then
if (bodyPart:bitten() or bodyPart:IsInfected()) and not dcInst:getIsInfected(limbName) then
dcInst:setIsInfected(limbName, true)
modDataNeedsUpdate = true
end