From 20deab2c89307c366ce1060a4675e72f89641005 Mon Sep 17 00:00:00 2001 From: Verkister Date: Wed, 1 Sep 2021 23:34:36 +0300 Subject: [PATCH] Small eggmode fix Fixes active item digestion mode combined with egg mode letting the belly process carry out the rest of its plans to digest the items after they've already been touched and egged by the egg mode, causing the egg contents to un-exist and leave behind empty shells. --- code/modules/vore/eating/bellymodes_datum_vr.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/vore/eating/bellymodes_datum_vr.dm b/code/modules/vore/eating/bellymodes_datum_vr.dm index df7b22897c3..e96d367e7c0 100644 --- a/code/modules/vore/eating/bellymodes_datum_vr.dm +++ b/code/modules/vore/eating/bellymodes_datum_vr.dm @@ -172,7 +172,7 @@ GLOBAL_LIST_INIT(digest_modes, list()) B.ownegg.update_transform() egg_contents -= I B.ownegg = null - return + return list("to_update" = TRUE) if(isliving(C)) var/mob/living/M = C var/mob_holder_type = M.holder_type || /obj/item/weapon/holder @@ -186,7 +186,7 @@ GLOBAL_LIST_INIT(digest_modes, list()) if(B.ownegg.w_class > 4) B.ownegg.slowdown = B.ownegg.w_class - 4 B.ownegg = null - return + return list("to_update" = TRUE) C.forceMove(B.ownegg) if(isitem(C)) var/obj/item/I = C @@ -200,4 +200,5 @@ GLOBAL_LIST_INIT(digest_modes, list()) if(B.ownegg.w_class > 4) B.ownegg.slowdown = B.ownegg.w_class - 4 B.ownegg = null + return list("to_update" = TRUE) return