LateInitialize() fix

This commit is contained in:
Kyep
2020-10-20 14:28:14 -07:00
parent e2a5c32bfa
commit 9cc24b1ce4
3 changed files with 13 additions and 14 deletions
+4 -1
View File
@@ -47,7 +47,10 @@ GLOBAL_DATUM_INIT(the_gateway, /obj/machinery/gateway/centerstation, null)
/obj/machinery/gateway/centerstation/Initialize()
..()
update_icon()
wait = world.time + config.gateway_delay //+ thirty minutes default
wait = world.time + config.gateway_delay
return INITIALIZE_HINT_LATELOAD
/obj/machinery/gateway/centerstation/LateInitialize()
awaygate = locate(/obj/machinery/gateway/centeraway) in GLOB.machines
/obj/machinery/gateway/centerstation/update_density_from_dir()