Converts most other usages of block() to x/y/z format (#89290)

## About The Pull Request

The sequel to https://github.com/tgstation/tgstation/pull/89234

> someone should do the rest at some point

guess what, I'm that someone :3

## Why It's Good For The Game

Same reasoning as the previous PR:

> less cluttered code is nice, and it should in theory be more optimized
as we avoid the need to run min, max, and locate.

## Changelog

No user-facing changes
This commit is contained in:
Lucy
2025-02-07 02:44:10 +01:00
committed by GitHub
parent 25b686fb2d
commit 2ee02682f7
13 changed files with 75 additions and 90 deletions
+3 -2
View File
@@ -350,8 +350,9 @@
if(!no_changeturf)
var/list/turfs = block(
locate(bounds[MAP_MINX], bounds[MAP_MINY], bounds[MAP_MINZ]),
locate(bounds[MAP_MAXX], bounds[MAP_MAXY], bounds[MAP_MAXZ]))
bounds[MAP_MINX], bounds[MAP_MINY], bounds[MAP_MINZ],
bounds[MAP_MAXX], bounds[MAP_MAXY], bounds[MAP_MAXZ]
)
for(var/turf/T as anything in turfs)
//we do this after we load everything in. if we don't, we'll have weird atmos bugs regarding atmos adjacent turfs
T.AfterChange(CHANGETURF_IGNORE_AIR)