mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-03 22:12:38 +00:00
More granular Atlas logs & Holomap Init Tweaks (#4056)
changes: Atlas now logs init time per DMM. Map Finalization now separately logs finalize & asteroid generation time. Added Z_ALL_TURFS() macro to get a list of all turfs in a Z-level. Misc. performance optimizations for SSminimap init.
This commit is contained in:
@@ -428,8 +428,7 @@
|
||||
|
||||
//Icon smoothing helpers
|
||||
/proc/smooth_zlevel(var/zlevel, now = FALSE)
|
||||
var/list/away_turfs = block(locate(1, 1, zlevel), locate(world.maxx, world.maxy, zlevel))
|
||||
for(var/V in away_turfs)
|
||||
for(var/V in Z_ALL_TURFS(zlevel))
|
||||
var/turf/T = V
|
||||
if(T.smooth)
|
||||
if(now)
|
||||
|
||||
Reference in New Issue
Block a user