Skip to content

Commit

Permalink
Morgue trays now can't move while in no gravity (ParadiseSS13#21777)
Browse files Browse the repository at this point in the history
* fixxx

* this is an oldcoder moment

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

Co-authored-by: Luc <[email protected]>

---------

Co-authored-by: Luc <[email protected]>
  • Loading branch information
DGamerL and lewcc authored Jul 27, 2023
1 parent 067ce56 commit 083262d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion code/game/objects/structures/morgue.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -274,6 +274,9 @@
var/atom/movable/mover = caller
. = . || mover.checkpass(PASSTABLE)

/obj/structure/m_tray/Process_Spacemove(movement_dir)
return TRUE

/*
* Crematorium
*/
Expand Down Expand Up @@ -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!"
Expand Down

0 comments on commit 083262d

Please sign in to comment.