diff --git a/code/modules/overmap/exoplanets/themes/_theme.dm b/code/modules/overmap/exoplanets/themes/_theme.dm index fb4a4b9a5da..8864d1a42e7 100644 --- a/code/modules/overmap/exoplanets/themes/_theme.dm +++ b/code/modules/overmap/exoplanets/themes/_theme.dm @@ -336,7 +336,11 @@ if(!length(ore_seeds)) return - for(var/turf/simulated/mineral/M in block(locate(min_x, min_y, z_to_check), locate(max_x, max_y, z_to_check))) + for(var/turf/simulated/S in block(locate(min_x, min_y, z_to_check), locate(max_x, max_y, z_to_check))) + if(!istype(S)) + continue + S.update_air_properties() + var/turf/simulated/mineral/M = S if(!istype(M) || M.mineral) continue var/coord_to_str = (world.maxx * M.y) + M.x diff --git a/html/changelogs/johnwildkins-fixlag99.yml b/html/changelogs/johnwildkins-fixlag99.yml new file mode 100644 index 00000000000..6307c0a7468 --- /dev/null +++ b/html/changelogs/johnwildkins-fixlag99.yml @@ -0,0 +1,6 @@ +author: JohnWildkins + +delete-after: True + +changes: + - bugfix: "Fix massive amounts of ZAS updates caused by exoplanets not building their atmos zones when generated."