mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-13 16:13:49 +01:00
a few more changes related to map (#18557)
* we got a thing * use flags * makes it betterer
This commit is contained in:
@@ -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