mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] a few more changes related to map (#11734)
Co-authored-by: Olive <49600480+zeskorion@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9abe7a4add
commit
a3cc64cdd2
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user