Fancy lighting wave 2 - expands nonbinary colored lighting to more than just flashlights and lights

This commit is contained in:
deathride58
2018-11-16 21:12:07 -05:00
parent d1b9dc2e08
commit 621b0675e9
13 changed files with 21 additions and 12 deletions
+1 -1
View File
@@ -386,7 +386,7 @@
/obj/item/gun/proc/update_gunlight(mob/user = null)
if(gun_light)
if(gun_light.on)
set_light(gun_light.brightness_on)
set_light(gun_light.brightness_on, gun_light.flashlight_power, gun_light.light_color)
else
set_light(0)
cut_overlays(flashlight_overlay, TRUE)