Use map modules.

This commit is contained in:
eswordthecat
2015-11-15 21:47:12 +08:00
parent 13def943dd
commit c428509e30

View File

@@ -346,8 +346,8 @@ proc/move_mining_shuttle()
for (var/obj/item/beacon/B in beacons)
var/turf/T = get_turf(B)
if (T)
if (T.z == STATION_Z)
if (!isnull(T))
if (T.z == map.zMainStation)
L.Add(B)
if(!L.len)