From 2c08c02099898f059b8fad4e076ce2470a2a77c4 Mon Sep 17 00:00:00 2001 From: Albert Iordache Date: Sun, 13 May 2012 22:21:53 +0300 Subject: [PATCH] Tempfix for atmos runtime errors --- code/FEA/FEA_system.dm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/code/FEA/FEA_system.dm b/code/FEA/FEA_system.dm index 92eaf9b5a17..40c447c6b00 100644 --- a/code/FEA/FEA_system.dm +++ b/code/FEA/FEA_system.dm @@ -223,8 +223,10 @@ datum tiles_to_update = list() for(var/datum/air_group/AG in air_groups) //Processing groups - if(AG) // Because of runtime errors on syphoning. - spawn AG.process_group() + spawn + if(AG) // Because of runtime errors on syphoning. + AG.process_group() + for(var/turf/simulated/T in active_singletons) //Processing Singletons spawn T.process_cell() @@ -238,8 +240,9 @@ datum if(current_cycle%10==5) //Check for groups of tiles to resume group processing every 10 cycles for(var/datum/air_group/AG in air_groups) - if(AG) // Because of runtime errors on syphoning. - spawn AG.check_regroup() + spawn + if(AG) // Because of runtime errors on syphoning. + AG.check_regroup() sleep(max(5,update_delay*tick_multiplier)) proc/process_rebuild_select_groups()