moves it all to playsound

This commit is contained in:
FreeStylaLT
2018-10-08 13:44:58 +09:00
parent 36a336b62c
commit 97e491c0ee
@@ -607,8 +607,7 @@ Note that amputating the affected organ does in fact remove the infection from t
"<span class='warning'>You hear a loud cracking sound coming from \the [owner].</span>",\
"<span class='danger'>Something feels like it shattered in your [name]!</span>",\
"You hear a sickening crack.")
var/S = "sound/effects/bone_break_[rand(1,6)].ogg"
playsound(owner,S, 150, 1)
playsound(owner,"sound/effects/bone_break_[rand(1,6)].ogg", 150, 1)
if(owner.dna.species && !(NO_PAIN in owner.dna.species.species_traits))
owner.emote("scream")