Fancy lighting wave 2 - expands nonbinary colored lighting to more than just flashlights and lights
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user