Lighting system is too buggy to continue until I know wtf is going on

This commit is contained in:
Aryn
2014-02-23 07:50:58 -07:00
parent 8a3b99aa68
commit ca7d4026b8
16 changed files with 163 additions and 93 deletions

View File

@@ -45,7 +45,8 @@ var/datum/controller/failsafe/Failsafe
MC_defcon = 0
MC_iteration = controller_iteration
if(lighting_controller.processing)
//Lighting controller now neither processes nor iterates.
/*if(lighting_controller.processing)
if(lighting_iteration == lighting_controller.iteration) //master_controller hasn't finished processing in the defined interval
switch(lighting_defcon)
if(0 to 3)
@@ -60,7 +61,7 @@ var/datum/controller/failsafe/Failsafe
lighting_defcon = 0
else
lighting_defcon = 0
lighting_iteration = lighting_controller.iteration
lighting_iteration = lighting_controller.iteration*/
else
MC_defcon = 0
lighting_defcon = 0