Commit 1e335cdb authored by Sprok0's avatar Sprok0 Committed by Intigracy
Browse files

Fix stomach drop messages (#12517)

parent 47faba5a
......@@ -70,8 +70,9 @@
our_mob.forceMove(src)
if(iscarbon(our_mob))
var/mob/living/carbon/C = our_mob
C.drop_stomach_contents()
user.visible_message("<span class='warning'>\The [C]'s stomach contents drop to the ground!</span>")
if(C.stomach_contents && C.stomach_contents.len)
C.drop_stomach_contents()
user.visible_message("<span class='warning'>\The [C]'s stomach contents drop to the ground!</span>")
returnToPool(G)
return
......
......@@ -81,8 +81,9 @@
/mob/living/carbon/gib()
dropBorers(1)
drop_stomach_contents()
src.visible_message("<span class='warning'>Something bursts from \the [src]'s stomach!</span>")
if(stomach_contents && stomach_contents.len)
drop_stomach_contents()
visible_message("<span class='warning'>Something bursts from \the [src]'s stomach!</span>")
. = ..()
/mob/living/carbon/proc/share_contact_diseases(var/mob/M)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment