mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 10:35:41 +01:00
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:
@@ -50,8 +50,9 @@
|
||||
require_area_resort()
|
||||
|
||||
var/list/generation_turfs = block(
|
||||
locate(bounds[MAP_MINX], bounds[MAP_MINY], SSmapping.station_start),
|
||||
locate(bounds[MAP_MAXX], bounds[MAP_MAXY], z_offset - 1))
|
||||
bounds[MAP_MINX], bounds[MAP_MINY], SSmapping.station_start,
|
||||
bounds[MAP_MAXX], bounds[MAP_MAXY], z_offset - 1
|
||||
)
|
||||
for(var/turf/gen_turf as anything in generation_turfs)
|
||||
atoms += gen_turf
|
||||
for(var/atom in gen_turf)
|
||||
|
||||
Reference in New Issue
Block a user