[MIRROR] Minor tweaks to an if (#2839)
* Minor tweaks to an if (#30683) * Minor tweaks to an if * Whoops * Minor tweaks to an if
This commit is contained in:
committed by
Poojawa
parent
9b08d9d5c9
commit
b08ec542e7
@@ -44,7 +44,7 @@
|
||||
//var/valid_z_levels = (GetConnectedZlevels(T.z) & using_map.station_levels)
|
||||
for(var/obj/machinery/power/supermatter_shard/S in GLOB.machines)
|
||||
// Delaminating, not within coverage, not on a tile.
|
||||
if(!((S.z in GLOB.station_z_levels) || S.z == ZLEVEL_MINING || S.z == T.z) || !istype(S.loc, /turf/))
|
||||
if(!((S.z in GLOB.station_z_levels) || S.z == ZLEVEL_MINING || S.z == T.z || !isturf(S.loc)))
|
||||
continue
|
||||
supermatters.Add(S)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user