From 8aaa3e01b6734d8477d7ca7fc350515406ac0a3e Mon Sep 17 00:00:00 2001 From: jimmyl <70376633+mc-oofert@users.noreply.github.com> Date: Mon, 10 Jul 2023 18:47:31 +0200 Subject: [PATCH] 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: --- 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 d7b71b88f4b..e85ecb90e94 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()