mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-30 00:30:06 +01:00
Adds an overmap helper to find what sector you're in
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user