From fad2beb82e61b072868fd02cf286351f7df93c59 Mon Sep 17 00:00:00 2001 From: Shophaune <31856537+Shophaune@users.noreply.github.com> Date: Tue, 23 Oct 2018 01:53:20 +0100 Subject: [PATCH] Fixes duplication of corpses by holding and then cooking (#5693) * Add files via upload * Revert "Merge pull request #1 from Shophaune/plant-bag-ui-bug-fix" This reverts commit 62a60d4f87774508621506b347c679191e1a242f, reversing changes made to 6f909ce590f81a9c819b1ad2bcc2bcca1898859e. * Fix for cooking mob duplication * Actually this is a better method, thanks Baystation Yeah they kinda fixed it three days ago way better than I did it so --- code/modules/food/kitchen/cooking_machines/_cooker.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/food/kitchen/cooking_machines/_cooker.dm b/code/modules/food/kitchen/cooking_machines/_cooker.dm index 9f430929423..a361bf3007a 100644 --- a/code/modules/food/kitchen/cooking_machines/_cooker.dm +++ b/code/modules/food/kitchen/cooking_machines/_cooker.dm @@ -130,6 +130,7 @@ if(istype(cooking_obj, /obj/item/weapon/holder)) for(var/mob/living/M in cooking_obj.contents) M.death() + qdel(M) // Cook the food. var/cook_path