Forgot to disable sound like an idiot
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user