From 0e9e5b6c8e0bb5850d4f534093c8acc6fc6d46b8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 12 Jul 2023 17:28:06 +0200 Subject: [PATCH] [MIRROR] makes morgue units not hold ghosts [MDB IGNORE] (#22342) * makes morgue units not hold ghosts (#76685) ## About The Pull Request makes them unable to hold any /mob/dead ## Why It's Good For The Game Fixes #76632 ## Changelog :cl: fix: morgue units can no longer hold ghosts /:cl: * makes morgue units not hold ghosts --------- Co-authored-by: jimmyl <70376633+mc-oofert@users.noreply.github.com> --- code/game/objects/structures/morgue.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 96afd16f4f5..450712461f4 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -156,6 +156,8 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an continue else if(istype(AM, /obj/effect/dummy/phased_mob)) continue + else if(isdead(AM)) + continue AM.forceMove(src) toggle_organ_decay(src) update_appearance()