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
This commit is contained in:
rockdtben@gmail.com
2012-08-17 12:39:20 +00:00
parent 5a4927a000
commit c8feb9f493

View File

@@ -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()