Atmos adjacency subsystem revival (#43447)

This improves init times and makes explosions and other shit that modifies a bunch of turfs faster by saving a proccall and potentially not doing the same work more than once.

cl Naksu
code: Turf adjacency list updates are now handled by a subsystem queue
/cl
This commit is contained in:
AnturK
2019-04-24 21:21:25 +12:00
committed by oranges
parent 01d9c7d9a9
commit d81ff09046
11 changed files with 58 additions and 14 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ GLOBAL_LIST_INIT(duplicate_forbidden_vars,list(
if(toupdate.len)
for(var/turf/T1 in toupdate)
T1.CalculateAdjacentTurfs()
CALCULATE_ADJACENT_TURFS(T1)
SSair.add_to_active(T1,1)