[MIRROR] a few more changes related to map (#11734)

Co-authored-by: Olive <49600480+zeskorion@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-25 11:20:20 -07:00
committed by GitHub
parent 9abe7a4add
commit a3cc64cdd2
4 changed files with 4 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
for (var/x_offset = -field_radius; x_offset <= field_radius; x_offset++)
for (var/y_offset = -field_radius; y_offset <= field_radius; y_offset++)
T = locate(gen_turf.x + x_offset, gen_turf.y + y_offset, gen_turf.z)
if (is_type_in_list(T,GLOB.external_shield_gen_blockedturfs))
if (is_type_in_list(T,GLOB.external_shield_gen_blockedturfs) && !(T.flags & TURF_UNSHIELDABLE))
//check neighbors of T
for(var/i in orange(1, T))
if(istype(i, /turf/simulated) && !is_type_in_list(i,GLOB.external_shield_gen_blockedturfs))