From af87c9cf6ad541afa382e72c1b6ce203bce5d65d Mon Sep 17 00:00:00 2001 From: Marina <50789504+KirbyDaMaster@users.noreply.github.com> Date: Wed, 14 Sep 2022 11:03:57 -0700 Subject: [PATCH] Fix Body Container bug (#69824) * Fix Body Container bug Fixed bug where body containers could not be closed when standing diagonally from them in some cases. * Update morgue.dm * Containers get PASSSTRUCTURE, trays get PASSTABLE * Update code/game/objects/structures/morgue.dm * Update code/game/objects/structures/morgue.dm Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- code/game/objects/structures/morgue.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 02eb799d7d1..15aecb16bc8 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -21,7 +21,7 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an density = TRUE anchored = TRUE max_integrity = 400 - + pass_flags_self = LETPASSTHROW | PASSSTRUCTURE var/obj/structure/tray/connected = null var/locked = FALSE dir = SOUTH @@ -322,7 +322,7 @@ GLOBAL_LIST_EMPTY(crematoriums) density = TRUE var/obj/structure/bodycontainer/connected = null anchored = TRUE - pass_flags_self = LETPASSTHROW + pass_flags_self = PASSTABLE | LETPASSTHROW max_integrity = 350 /obj/structure/tray/Destroy() @@ -399,7 +399,7 @@ GLOBAL_LIST_EMPTY(crematoriums) name = "morgue tray" desc = "Apply corpse before closing." icon_state = "morguet" - pass_flags_self = PASSTABLE + pass_flags_self = PASSTABLE | LETPASSTHROW /obj/structure/tray/m_tray/CanAllowThrough(atom/movable/mover, border_dir) . = ..()