- Fixed bug that could cause bit status to amputated limbs

- Optimizations to various functions
This commit is contained in:
Pao
2023-01-26 19:52:22 +01:00
parent 753061e6dc
commit e29bb1c9df
3 changed files with 46 additions and 90 deletions

View File

@@ -275,7 +275,7 @@ function TheOnlyCure.CutLimb(part_name, surgeon_factor, bandage_table, painkille
-- Second check, let's see if there is any other infected limb.
if TocCheckIfStillInfected(limbs_data) == false then
TocCureInfection(body_damage, limbs_data, part_name)
TocCureInfection(body_damage, part_name)
getPlayer():Say("I'm gonna be fine...")
else
getPlayer():Say("I'm still gonna die...")