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 6f909ce590.

* 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
This commit is contained in:
Shophaune
2018-10-23 01:53:20 +01:00
committed by VirgoBot
parent 86cf5cfca7
commit fad2beb82e
@@ -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