Reverted unrelated ZAS modification and unnecessary check.

This commit is contained in:
Aryn
2014-02-28 17:50:12 -05:00
committed by ZomgPonies
parent c0f08c309d
commit fcf8509635
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -603,7 +603,7 @@
#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
if(on && light)
if(on)
use_power(luminosity * LIGHTING_POWER_FACTOR, LIGHT)
// called when area power state changes