From 6708a5f6bd7b30660fbcdf1a3e0df792f7bfdd8f Mon Sep 17 00:00:00 2001 From: Eearslya Sleiarion Date: Sat, 24 Sep 2016 11:13:26 -0700 Subject: [PATCH] Fix nested digestion to move mobs/items up a belly when dead (#584) --- code/modules/vore/eating/belly_vr.dm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/modules/vore/eating/belly_vr.dm b/code/modules/vore/eating/belly_vr.dm index 25e1517a48c..c54508f285d 100644 --- a/code/modules/vore/eating/belly_vr.dm +++ b/code/modules/vore/eating/belly_vr.dm @@ -247,10 +247,13 @@ if (is_vore_predator(M)) for (var/bellytype in M.vore_organs) var/datum/belly/belly = M.vore_organs[bellytype] - for (var/obj/SubPrey in belly.internal_contents) - SubPrey.forceMove(owner) - internal_contents += SubPrey - SubPrey << "As [M] melts away around you, you find yourself in [owner]'s [name]" + for (var/obj/thing in belly.internal_contents) + thing.forceMove(owner) + internal_contents += thing + for (var/mob/subprey in belly.internal_contents) + subprey.forceMove(owner) + internal_contents += subprey + subprey << "As [M] melts away around you, you find yourself in [owner]'s [name]" //Drop all items into the belly. if (config.items_survive_digestion)