This commit is contained in:
Pao
2023-01-12 21:54:06 +01:00
parent 28dde14062
commit e6ea6bbc81
9 changed files with 222 additions and 214 deletions

View File

@@ -1,9 +1,12 @@
-- CutLimb
function TheOnlyCure.CheckIfStillInfected(toc_data)
if toc_data == nil then
return
end
-- Check ALL body part types to check if the player is still gonna die
local check = false
for _, v in ipairs(GetBodyParts()) do
if toc_data[v].is_infected then
check = true