Morgue trays now can't move while in no gravity (#21777)

* fixxx

* this is an oldcoder moment

* Update code/game/objects/structures/morgue.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

---------

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-07-27 16:57:13 +02:00
committed by GitHub
parent 067ce5670e
commit 083262dbd9
+7 -1
View File
@@ -208,7 +208,7 @@
*/
/obj/structure/m_tray
name = "morgue tray"
desc = "Apply corpse before closing. May float away in no-gravity."
desc = "Apply corpse before closing."
icon = 'icons/obj/stationobjs.dmi'
icon_state = "morgue_tray"
density = TRUE
@@ -274,6 +274,9 @@
var/atom/movable/mover = caller
. = . || mover.checkpass(PASSTABLE)
/obj/structure/m_tray/Process_Spacemove(movement_dir)
return TRUE
/*
* Crematorium
*/
@@ -539,6 +542,9 @@ GLOBAL_LIST_EMPTY(crematoriums)
connected = null
return ..()
/obj/structure/c_tray/Process_Spacemove(movement_dir)
return TRUE
// Crematorium switch
/obj/machinery/crema_switch
desc = "Burn baby burn!"