Must now be adjacent to mobs you are stripping.

Fixes #10884.
This commit is contained in:
PsiOmegaDelta
2015-08-26 08:12:02 +02:00
parent b025a16a6c
commit 9c5aba72f0
2 changed files with 2 additions and 2 deletions

View File

@@ -222,7 +222,7 @@
/mob/living/carbon/human/show_inv(mob/user as mob)
// TODO : Change to incapacitated() on merge.
if(user.stat || user.lying || user.resting || user.buckled)
if(user.stat || user.lying || user.resting || user.buckled || !user.Adjacent(src))
return
var/obj/item/clothing/under/suit = null

View File

@@ -4,7 +4,7 @@
return
// TODO : Change to incapacitated() on merge.
if(user.stat || user.lying || user.resting || user.buckled)
if(user.stat || user.lying || user.resting || user.buckled || !user.Adjacent(src))
user << browse(null, text("window=mob[src.name]"))
return