mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 21:42:06 +00:00
[MIRROR] Atmos init speedup, saves 4 seconds [MDB IGNORE] (#16090)
* Atmos init speedup, saves 4 seconds (#69697) * Micro optimizes ssair's turf init, saving 2 seconds Most of this is making existing operations do more legwork, or cheaper. I did add cycle checking to ONLY init turf linking, which required creating a new proc. Did some horrible horrible things in said proc to save like 0.8 seconds. I think it was worth it. * Atmos init speedup, saves 4 seconds Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
SSair.remove_from_active(T)
|
||||
for(var/turf/open/T in map)
|
||||
if(T.air)
|
||||
T.air.copy_from_turf(T)
|
||||
T.air = T.create_gas_mixture()
|
||||
SSair.add_to_active(T, TRUE)
|
||||
|
||||
/datum/map_generator_module/bottom_layer/massdelete
|
||||
|
||||
Reference in New Issue
Block a user