From 7d2eb5ddf26447d1f193bc736cbb24666ddfdb63 Mon Sep 17 00:00:00 2001 From: Xhuis Date: Sat, 31 Oct 2015 23:27:27 -0400 Subject: [PATCH] Changes spell sound mechanics --- code/datums/spell.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/datums/spell.dm b/code/datums/spell.dm index b549555f5be..8596b5267fe 100644 --- a/code/datums/spell.dm +++ b/code/datums/spell.dm @@ -145,8 +145,6 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin user.whisper(replacetext(invocation," ","`")) if("emote") user.visible_message(invocation, invocation_emote_self) //same style as in mob/living/emote.dm - if(sound) - playMagSound() /obj/effect/proc_holder/spell/proc/playMagSound() playsound(get_turf(usr), sound,50,1) @@ -177,6 +175,8 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin spawn(0) if(charge_type == "recharge" && recharge) start_recharge() + if(sound) + playMagSound() if(prob(critfailchance)) critfail(targets) else