Fixes the light power consumption the new /tg/ style.

This commit is contained in:
PsiOmega
2014-11-16 11:13:27 +01:00
parent ffbbf2b858
commit f850b2616d
+3 -3
View File
@@ -601,11 +601,11 @@
#define LIGHTING_POWER_FACTOR 20 //20W per unit luminosity
/*
/obj/machinery/light/process()//TODO: remove/add this from machines to save on processing as needed ~Carn PRIORITY
/obj/machinery/light/process()
if(on)
use_power(luminosity * LIGHTING_POWER_FACTOR, LIGHT)
*/
// called when area power state changes
/obj/machinery/light/power_change()