Forgot to disable sound like an idiot

This commit is contained in:
Pao
2023-01-31 00:52:31 +01:00
parent 61eac3c780
commit b820ecc501
2 changed files with 2 additions and 2 deletions

View File

@@ -348,7 +348,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, part_name)
getPlayer():Say("I'm gonna be fine...")
getPlayer():Say("I'm gonna be fine...") -- TODO Make it visible to other players, check True Actions as reference
else
getPlayer():Say("I'm still gonna die...")
end

View File

@@ -119,7 +119,7 @@ function ISCutLimb:perform()
TheOnlyCure.CutLimb(self.part_name, surgeon_factor, bandage_table, painkiller_table)
end
self.character:getEmitter():stopSoundByName("Amputation_Sound")
self.surgeon:getXp():AddXP(Perks.Doctor, 400)
ISBaseTimedAction.perform(self)