Merge pull request #14677 from Kyep/gateway_fix

Fixes ghosts unable to pass gateway
This commit is contained in:
AffectedArc07
2020-10-21 11:55:45 +01:00
committed by GitHub
2 changed files with 5 additions and 2 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()