Fixes Circuit Lights (#7356)

This commit is contained in:
ParadoxSpace
2019-11-08 22:15:27 +01:00
committed by Werner
parent 93656ba8b2
commit a99c2cf8f2
2 changed files with 42 additions and 1 deletions
@@ -77,7 +77,7 @@
/obj/item/integrated_circuit/output/light/proc/update_lighting()
if(light_toggled)
if(assembly)
assembly.set_light(l_range = light_brightness, l_power = light_brightness, l_color = light_rgb, uv_power = 0)
assembly.set_light(l_range = light_brightness, l_power = light_brightness, l_color = light_rgb)
else
if(assembly)
assembly.set_light(0)