mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-05 15:03:48 +00:00
TempFix for air groups being nulled and crashing the server
This commit is contained in:
@@ -223,7 +223,8 @@ datum
|
||||
tiles_to_update = list()
|
||||
|
||||
for(var/datum/air_group/AG in air_groups) //Processing groups
|
||||
spawn AG.process_group()
|
||||
if(AG) // Because of runtime errors on syphoning.
|
||||
spawn AG.process_group()
|
||||
for(var/turf/simulated/T in active_singletons) //Processing Singletons
|
||||
spawn T.process_cell()
|
||||
|
||||
@@ -237,7 +238,8 @@ 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)
|
||||
spawn AG.check_regroup()
|
||||
if(AG) // Because of runtime errors on syphoning.
|
||||
spawn AG.check_regroup()
|
||||
sleep(max(5,update_delay*tick_multiplier))
|
||||
|
||||
proc/process_rebuild_select_groups()
|
||||
|
||||
Reference in New Issue
Block a user