From f602e10073a1db297920dea451b647a82ac5f1ef Mon Sep 17 00:00:00 2001 From: Hubblenaut Date: Fri, 23 May 2014 23:23:58 +0200 Subject: [PATCH] No longer toggling suit sensors when restrained. --- code/modules/clothing/clothing.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index fc3ec4668cf..978b055fd76 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -310,7 +310,7 @@ BLIND // can't see anything /obj/item/clothing/under/proc/set_sensors(mob/usr as mob) var/mob/M = usr if (istype(M, /mob/dead/)) return - if (usr.stat) return + if (usr.stat || usr.restrained()) return if(has_sensor >= 2) usr << "The controls are locked." return 0