mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user