TG: Fix for ghosts being able to stuff things in to crematoriums

Revision: r3297
Author: 	 quartz235
This commit is contained in:
Ren Erthilo
2012-04-27 00:31:06 +01:00
parent 76e4314354
commit 2b9324f1ef
+1 -1
View File
@@ -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)