From f850b2616da786c880e7f0f74227c8fa2b6171bb Mon Sep 17 00:00:00 2001 From: PsiOmega Date: Sun, 16 Nov 2014 11:13:27 +0100 Subject: [PATCH] Fixes the light power consumption the new /tg/ style. --- code/modules/power/lighting.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/power/lighting.dm b/code/modules/power/lighting.dm index f6cfe8f3ca..8d8c434e25 100644 --- a/code/modules/power/lighting.dm +++ b/code/modules/power/lighting.dm @@ -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()