From 9c5aba72f0baff48da635032dda6974f3211f59e Mon Sep 17 00:00:00 2001 From: PsiOmegaDelta Date: Wed, 26 Aug 2015 08:12:02 +0200 Subject: [PATCH] Must now be adjacent to mobs you are stripping. Fixes #10884. --- code/modules/mob/living/carbon/human/human.dm | 2 +- code/modules/mob/living/carbon/human/stripping.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 74f105c115..70646bd981 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -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 diff --git a/code/modules/mob/living/carbon/human/stripping.dm b/code/modules/mob/living/carbon/human/stripping.dm index aa08a0efd5..00a8f8113a 100644 --- a/code/modules/mob/living/carbon/human/stripping.dm +++ b/code/modules/mob/living/carbon/human/stripping.dm @@ -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