Makes Overmap processing happen on a priority subsystem. (#15568)

This commit is contained in:
Matt Atlas
2023-02-03 12:30:48 +01:00
committed by GitHub
parent b719a883a5
commit 689c5cafc9
6 changed files with 57 additions and 3 deletions
+2 -2
View File
@@ -63,7 +63,7 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
LAZYADD(SSshuttle.sectors_to_initialize, src) //Queued for further init. Will populate the waypoint lists; waypoints not spawned yet will be added in as they spawn.
SSshuttle.clear_init_queue()
START_PROCESSING(SSprocessing, src)
START_PROCESSING(SSovermap, src)
/obj/effect/overmap/visitable/process()
if(get_dist(src, targeting) > 7)
@@ -85,7 +85,7 @@ var/global/area/overmap/map_overmap // Global object used to locate the overmap
targeting = null
levi_safeguard = null
gravity_generator = null
STOP_PROCESSING(SSprocessing, src)
STOP_PROCESSING(SSovermap, src)
. = ..()
//This is called later in the init order by SSshuttle to populate sector objects. Importantly for subtypes, shuttles will be created by then.
+1 -1
View File
@@ -155,7 +155,7 @@
/obj/machinery/computer/ship/helm/proc/get_eta()
var/ETA = connected.ETA()
if(ETA && connected.get_speed())
return "[round(ETA/10)] seconds"
return "[round(ETA/7)] seconds"
else
return "N/A"