From 2b9324f1ef1f9e9b6a40f2e2e3d18c5a08f18a14 Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Fri, 27 Apr 2012 00:31:06 +0100 Subject: [PATCH] TG: Fix for ghosts being able to stuff things in to crematoriums Revision: r3297 Author: quartz235 --- code/game/machinery/morgue.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/morgue.dm b/code/game/machinery/morgue.dm index 48ed0675aed..8c65e0a72f3 100644 --- a/code/game/machinery/morgue.dm +++ b/code/game/machinery/morgue.dm @@ -316,7 +316,7 @@ return /obj/structure/c_tray/MouseDrop_T(atom/movable/O as mob|obj, mob/user as mob) - if ((!( istype(O, /atom/movable) ) || O.anchored || get_dist(user, src) > 1 || get_dist(user, O) > 1 || user.contents.Find(src))) + if ((!( istype(O, /atom/movable) ) || O.anchored || get_dist(user, src) > 1 || get_dist(user, O) > 1 || user.contents.Find(src) || istype(user, /mob/dead))) return O.loc = src.loc if (user != O)