Fixes incorrect usage of world.view or viewers() in some places (#95558)

This commit is contained in:
SmArtKar
2026-03-30 20:07:36 -04:00
committed by GitHub
parent e3971e8bff
commit b77d459820
10 changed files with 17 additions and 8 deletions
@@ -108,7 +108,7 @@
var/list/y_pos_transition = list(TRANSITIONEDGE + 2, inner_max_y - 1, 1, 1) //values of y for the transition from respective blocks on the side of zlevel, 1 is being translated into turfs respective y value later in the code
// Cache the range passed to the mirage border element, to reduce world var access in the thousands
var/range_cached = world.view
var/range_cached = (maxviewdist() - 1) / 2
for(var/datum/space_level/level as anything in cached_z_list)
if(!level.neigbours.len)