From c29f74a1e63157a4365732b46adb4edb804aec44 Mon Sep 17 00:00:00 2001 From: crazyclonetheninja Date: Fri, 17 Dec 2010 07:26:20 +0000 Subject: [PATCH] You can no longer change your suit sensor level after you're dead. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@644 316c924e-a436-60f5-8080-3fe189b3f50e --- code/game/objects/items/clothing.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/game/objects/items/clothing.dm b/code/game/objects/items/clothing.dm index 61f0c56bc28..b733f9f6f48 100644 --- a/code/game/objects/items/clothing.dm +++ b/code/game/objects/items/clothing.dm @@ -281,6 +281,9 @@ DEATH COMMANDO GAS MASK /obj/item/clothing/under/verb/toggle() set name = "Toggle Suit Sensors" + var/mob/M = usr + if (istype (M, /mob/dead/)) return + if (M.health <= -100) return if (istype (src, /obj/item/clothing/under/color/orange/)) mode = 3 usr << "There are no controls for the sensing equipment woven into the fabric."