Process and Process Scheduler Tweaks

This commit is contained in:
Krausus
2015-07-18 13:14:32 -04:00
parent fd87909ff5
commit c520ebd8a5
22 changed files with 257 additions and 204 deletions
+15
View File
@@ -0,0 +1,15 @@
var/global/datum/controller/process/lighting/lighting_controller
/datum/controller/process/lighting/setup()
name = "lighting"
schedule_interval = LIGHTING_INTERVAL
start_delay = 1
lighting_controller = src
create_lighting_overlays()
/datum/controller/process/lighting/statProcess()
..()
stat(null, "[last_light_count] lights, [last_overlay_count] overlays")
// Lighting process code located in modules\lighting\lighting_process.dm