From 083262dbd97729a2dcd3090553ca3697715eb45c Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Thu, 27 Jul 2023 16:57:13 +0200 Subject: [PATCH] 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> --- code/game/objects/structures/morgue.dm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 45e79ac6bfb..612c4014510 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -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!"