Skip to content

Commit af342a3

Browse files
committed
the sound, the music for the ears! 🔊
how could have you forgotted this...? actually, knowing how much you've slept.. this explains much.
1 parent facc981 commit af342a3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎modular_meta/features/brain_trauma_punishment/code/brain_trauma_punishment.dm‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ GLOBAL_LIST_INIT(brain_trauma_punishment_forbidden_traumas, list(
226226
/datum/brain_trauma_punishment_manager/proc/show_target_tgui_alert(mob/living/living_mob)
227227
set waitfor = FALSE
228228

229-
if(!istype(living_mob))
229+
if(!istype(living_mob)) // Shall not be shown, if our [living_mob], well.. isn't alive?
230230
return
231231

232232
var/player_ckey = ckey(living_mob.ckey)
@@ -239,14 +239,14 @@ GLOBAL_LIST_INIT(brain_trauma_punishment_forbidden_traumas, list(
239239
if(alerted_ckeys[player_ckey])
240240
return
241241

242+
living_mob.playsound_local(null, pick('sound/effects/pope_entry.ogg',
243+
'sound/effects/cartoon_sfx/cartoon_splat.ogg',
244+
'sound/items/bikehorn.ogg',
245+
'sound/effects/adminhelp.ogg'), 100, TRUE, pressure_affected = FALSE, use_reverb = FALSE)
246+
242247
alerted_ckeys[player_ckey] = TRUE
243248
if(!prob(75))
244249
tgui_alert(living_mob, "You have been punished with recurring brain trauma by administrators.", "Divine Intervention!", list("Understood"), 0, TRUE, GLOB.always_state)
245-
living_mob.playsound_local(null, pick('sound/effects/pope_entry.ogg',
246-
'sound/effects/cartoon_sfx/cartoon_splat.ogg',
247-
'sound/effects/achievement/glockenspiel_ping.ogg',
248-
'sound/items/bikehorn.ogg',
249-
'sound/effects/adminhelp.ogg'), 100, TRUE, pressure_affected = FALSE, use_reverb = FALSE)
250250
return
251251

252252

0 commit comments

Comments
 (0)