mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-29 08:09:34 +01:00
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 commit62a60d4f87, reversing changes made to6f909ce590. * 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user