mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user