From 46597248514e4ea0176f151b42c216aa61bb6f77 Mon Sep 17 00:00:00 2001 From: GunHog Date: Sat, 21 Mar 2015 02:52:05 -0500 Subject: [PATCH] Mini-Fix for flashlighting invalid helmets I am going to expand on it later. --- code/modules/clothing/head/helmet.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index 12d4290aea3..a80c9ab289b 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -11,7 +11,6 @@ heat_protection = HEAD max_heat_protection_temperature = HELMET_MAX_TEMP_PROTECT strip_delay = 60 - can_flashlight = 1 var/obj/machinery/camera/portable/helmetCam = null var/spawnWithHelmetCam = 0 var/canAttachCam = 0 @@ -26,13 +25,14 @@ update_icon() /obj/item/clothing/head/helmet/emp_act(severity) - if(helmetCam) + if(helmetCam) //Transfer the EMP to the camera so you can still disable it this way. helmetCam.emp_act(severity) ..() /obj/item/clothing/head/helmet/sec spawnWithHelmetCam = 1 canAttachCam = 1 + can_flashlight = 1 /obj/item/clothing/head/helmet/alt name = "bulletproof helmet"