Updating spraycans and crayons code.

This commit is contained in:
Ghommie
2019-07-17 15:45:48 +02:00
parent 8c1b7c4f22
commit b818b1eedd
7 changed files with 115 additions and 70 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)