Removes all locate() calls in block() (#25772)

* Removes all `locate()` calls in `block()`

* Maybe actually push fixes

* Revert bad merge master

* Forgot this one

* Maybe actually push fixes

---------

Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com>
This commit is contained in:
DGamerL
2024-06-28 20:33:38 +00:00
committed by GitHub
parent 02759bcb31
commit efd6f2dfa6
18 changed files with 33 additions and 34 deletions
@@ -163,7 +163,7 @@ SUBSYSTEM_DEF(mapping)
)
for(var/z_level in space_z_levels)
var/list/turf/z_level_turfs = block(locate(1, 1, z_level), locate(world.maxx, world.maxy, z_level))
var/list/turf/z_level_turfs = block(1, 1, z_level, world.maxx, world.maxy, z_level)
for(var/z_level_turf in z_level_turfs)
var/turf/T = z_level_turf
var/area/A = get_area(T)