mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-01-02 13:34:49 +00:00
Reverted unrelated ZAS modification and unnecessary check.
This commit is contained in:
@@ -108,7 +108,6 @@ Class Procs:
|
|||||||
|
|
||||||
/zone/proc/rebuild()
|
/zone/proc/rebuild()
|
||||||
if(invalid) return //Short circuit for explosions where rebuild is called many times over.
|
if(invalid) return //Short circuit for explosions where rebuild is called many times over.
|
||||||
if(air_master.current_cycle == 0) return //Why would you rebuild when you're building?
|
|
||||||
c_invalidate()
|
c_invalidate()
|
||||||
for(var/turf/simulated/T in contents)
|
for(var/turf/simulated/T in contents)
|
||||||
//T.dbg(invalid_zone)
|
//T.dbg(invalid_zone)
|
||||||
|
|||||||
@@ -604,7 +604,7 @@
|
|||||||
#define LIGHTING_POWER_FACTOR 20 //20W per unit luminosity
|
#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()//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)
|
use_power(luminosity * LIGHTING_POWER_FACTOR, LIGHT)
|
||||||
|
|
||||||
// called when area power state changes
|
// called when area power state changes
|
||||||
|
|||||||
Reference in New Issue
Block a user