Adds an overmap helper to find what sector you're in

This commit is contained in:
Aronai Sieyes
2020-04-27 10:34:28 -04:00
parent c9086829ec
commit dcf88640ee
14 changed files with 20 additions and 159 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
return 1
/obj/machinery/computer/ship/proc/sync_linked(var/user = null)
var/obj/effect/overmap/visitable/ship/sector = map_sectors["[z]"]
var/obj/effect/overmap/visitable/ship/sector = get_overmap_sector(z)
if(!sector)
return
. = attempt_hook_up_recursive(sector)