From c470f35520d7adc43eb485e16189b3f03a3c3ddd Mon Sep 17 00:00:00 2001 From: Arokha Sieyes Date: Wed, 14 Feb 2018 23:17:50 -0600 Subject: [PATCH] POLARIS: Ghosts can snoop on containers --- code/game/objects/items/weapons/storage/storage.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/weapons/storage/storage.dm b/code/game/objects/items/weapons/storage/storage.dm index c95f0ac49e..448602d665 100644 --- a/code/game/objects/items/weapons/storage/storage.dm +++ b/code/game/objects/items/weapons/storage/storage.dm @@ -52,7 +52,7 @@ if(!canremove) return - if (ishuman(usr) || issmall(usr) || isanimal(usr)) //so monkeys can take off their backpacks -- Urist + if (ishuman(usr) || issmall(usr) || isanimal(usr) || isobserver(usr)) //so monkeys can take off their backpacks -- Urist if (istype(usr.loc,/obj/mecha)) // stops inventory actions in a mech. why? return @@ -139,7 +139,7 @@ is_seeing -= user /obj/item/weapon/storage/proc/open(mob/user as mob) - if (src.use_sound) + if (src.use_sound && !isobserver(user)) playsound(src.loc, src.use_sound, 50, 1, -5) orient2hud(user)