spray paint update

This commit is contained in:
Azarak
2020-01-28 04:19:54 +01:00
parent b842a2105d
commit 8c4ad4c728
2 changed files with 18 additions and 5 deletions
+5
View File
@@ -323,6 +323,8 @@
var/BR = brightness
var/PO = bulb_power
var/CO = bulb_colour
if(color)
CO = color
var/area/A = get_area(src)
if (A && A.fire)
CO = bulb_emergency_colour
@@ -360,6 +362,9 @@
else
removeStaticPower(static_power_used, STATIC_LIGHT)
/obj/machinery/light/update_atom_colour()
. = ..()
update()
/obj/machinery/light/process()
if (!cell)