From c8feb9f4936cf2ff4b0bf77bb79b7ac9d25b2943 Mon Sep 17 00:00:00 2001 From: "rockdtben@gmail.com" Date: Fri, 17 Aug 2012 12:39:20 +0000 Subject: [PATCH] Fixes issue 529 Now if someone busts out of a mob it will gib and the contents of its stomach will fly out as intended git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4473 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/mob/living/carbon/carbon.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 652e2e3eb7f..795b730481c 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -33,6 +33,9 @@ playsound(user.loc, 'attackblob.ogg', 50, 1) if(prob(src.getBruteLoss() - 50)) + for(var/atom/movable/A in stomach_contents) + A.loc = loc + stomach_contents.Remove(A) src.gib() /mob/living/carbon/gib()