Fixes hardsuit helmet lights (#25050)

Fixes #24894
This commit is contained in:
MrPerson
2017-03-14 09:25:09 -07:00
committed by KorPhaeron
parent 993e9f76a7
commit 0f4649bc9c
+4 -1
View File
@@ -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()