From cd5649e5228914a5588f5c0f7430787033309ff2 Mon Sep 17 00:00:00 2001 From: Fox-McCloud Date: Wed, 1 Apr 2015 19:29:06 -0400 Subject: [PATCH] Fixes Dead People Vomitting --- code/modules/mob/mob.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index ed6d6e3385c..d871369edfb 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -1442,8 +1442,10 @@ mob/proc/yank_out_object() /mob/proc/fakevomit() //for aesthetic vomits that need to be instant and do not stun. -Fox + if(stat==DEAD) + return src.visible_message("[src] pukes all over \himself!","You puke all over yourself!") - playsound(loc, 'sound/effects/splat.ogg', 50, 1) var/turf/location = loc if (istype(location, /turf/simulated)) + playsound(location, 'sound/effects/splat.ogg', 50, 1) location.add_vomit_floor(src, 1) \ No newline at end of file