From c55747272ac6f5908ceeee2d6f72ca8dfee54a24 Mon Sep 17 00:00:00 2001 From: mwerezak Date: Fri, 30 May 2014 20:01:16 -0400 Subject: [PATCH] Makes it harder to accidentally undress yourself --- code/modules/clothing/clothing.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 9ec56f1fc94..45887586d5f 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -271,9 +271,12 @@ BLIND // can't see anything if(hastie && src.loc == user) hastie.attack_hand(user) return + + if ((ishuman(usr) || ismonkey(usr)) && src.loc == user) //make it harder to accidentally undress yourself + return + ..() -//This is to ensure people can take off suits when there is an attached accessory /obj/item/clothing/under/MouseDrop(obj/over_object as obj) if (ishuman(usr) || ismonkey(usr)) //makes sure that the clothing is equipped so that we can't drag it into our hand from miles away.