From 611e86ac1697e7b6e1db691ebd76301aeda91938 Mon Sep 17 00:00:00 2001 From: DragonTrance Date: Mon, 6 Jun 2022 12:14:20 -0400 Subject: [PATCH] signals in set_light --- code/modules/lighting/lighting_atom.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/lighting/lighting_atom.dm b/code/modules/lighting/lighting_atom.dm index 7e9eb5e80..8450a4b5d 100644 --- a/code/modules/lighting/lighting_atom.dm +++ b/code/modules/lighting/lighting_atom.dm @@ -4,13 +4,13 @@ /atom/proc/set_light(var/l_range, var/l_power, var/l_color = NONSENSICAL_VALUE) l_range = max(l_range, MINIMUM_USEFUL_LIGHT_RANGE) //Brings the range up to 1.4, which is just barely brighter than the soft lighting that surrounds players. if (l_power != null) - light_power = l_power + set_light_power(l_power) if (l_range != null) - light_range = l_range + set_light_range(l_range) if (l_color != NONSENSICAL_VALUE) - light_color = l_color + set_light_color(l_color) SEND_SIGNAL(src, COMSIG_ATOM_SET_LIGHT, l_range, l_power, l_color)