Lighting seems to be working now.

This commit is contained in:
Aryn
2014-02-23 22:51:47 -07:00
committed by ZomgPonies
parent 5b2f811b71
commit 52e2a3d1c6
7 changed files with 75 additions and 19 deletions
+1 -1
View File
@@ -604,7 +604,7 @@
/obj/machinery/light/process()//TODO: remove/add this from machines to save on processing as needed ~Carn PRIORITY
if(on && light)
use_power(light.radius * LIGHTING_POWER_FACTOR, LIGHT)
use_power(luminosity * LIGHTING_POWER_FACTOR, LIGHT)
// called when area power state changes
/obj/machinery/light/power_change()