Skip to content

Commit

Permalink
restores surgery sound to default
Browse files Browse the repository at this point in the history
  • Loading branch information
Bmon committed Sep 23, 2024
1 parent 4a0f683 commit b368f2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/surgery/surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -581,14 +581,14 @@
break
else
sound_file_use = preop_sound
playsound(get_turf(target), sound_file_use, 65, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
playsound(get_turf(target), sound_file_use, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)

/datum/surgery_step/proc/play_success_sound(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
if(!success_sound || ismachineperson(target))
return
playsound(get_turf(target), success_sound, 65, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
playsound(get_turf(target), success_sound, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)

/datum/surgery_step/proc/play_failure_sound(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery, channel = CHANNEL_SURGERY_SOUNDS)
if(!failure_sound || ismachineperson(target))
return
playsound(get_turf(target), failure_sound, 65, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
playsound(get_turf(target), failure_sound, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)

0 comments on commit b368f2a

Please sign in to comment.