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 62a60d4f87, 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-22 17:53:20 -07:00
committed by Atermonera
parent 75c872ccd6
commit ac9fd5bdf7
@@ -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