mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 10:42:37 +00:00
@@ -44,7 +44,7 @@
|
|||||||
//var/valid_z_levels = (GetConnectedZlevels(T.z) & using_map.station_levels)
|
//var/valid_z_levels = (GetConnectedZlevels(T.z) & using_map.station_levels)
|
||||||
for(var/obj/machinery/power/supermatter_shard/S in GLOB.machines)
|
for(var/obj/machinery/power/supermatter_shard/S in GLOB.machines)
|
||||||
// Delaminating, not within coverage, not on a tile.
|
// 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
|
continue
|
||||||
supermatters.Add(S)
|
supermatters.Add(S)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user