From 9e18d9055a0388f318dca311b16b008153cbbb5e Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 22 Sep 2017 04:47:39 -0500 Subject: [PATCH] [MIRROR] Removes the ability of non-interacting admin ghosts to steal and carry objects, pick pockets etc. (#2886) * Merge pull request #30890 from vuonojenmustaturska/adminghostfix Removes the ability of non-interacting admin ghosts to steal and carry objects, pick pockets etc. * Removes the ability of non-interacting admin ghosts to steal and carry objects, pick pockets etc. --- code/modules/mob/dead/observer/observer.dm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 9eb16d74e2..1022719805 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -711,9 +711,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp update_icon() /mob/dead/observer/canUseTopic(atom/movable/AM,be_close = FALSE) - if(check_rights(R_ADMIN, 0)) - return 1 - return + return IsAdminGhost(usr) /mob/dead/observer/is_literate() return 1