From 0f4649bc9c14dc8d49e4b004458edea6f97a34f1 Mon Sep 17 00:00:00 2001 From: MrPerson Date: Tue, 14 Mar 2017 09:25:09 -0700 Subject: [PATCH] Fixes hardsuit helmet lights (#25050) Fixes #24894 --- code/modules/clothing/spacesuits/hardsuit.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm index 4fd396a0124..b9c4a117cb8 100644 --- a/code/modules/clothing/spacesuits/hardsuit.dm +++ b/code/modules/clothing/spacesuits/hardsuit.dm @@ -20,7 +20,10 @@ icon_state = "[basestate][on]-[item_color]" user.update_inv_head() //so our mob-overlays update - set_light(brightness_on) + if(on) + set_light(brightness_on) + else + set_light(0) for(var/X in actions) var/datum/action/A = X A.UpdateButtonIcon()