Fix gravy gen area detection happening too early

This commit is contained in:
Aronai Sieyes
2020-04-20 13:53:23 -04:00
parent f8d387f136
commit d1cdea22a9
+5 -1
View File
@@ -127,9 +127,13 @@ GLOBAL_LIST_EMPTY(gravity_generators)
var/list/areas = list()
/obj/machinery/gravity_generator/main/Initialize()
. = ..()
..()
return INITIALIZE_HINT_LATELOAD
/obj/machinery/gravity_generator/main/LateInitialize() //Needs to happen after overmap sectors are initialized so we can figure out where we are
update_list()
update_areas()
return ..()
/obj/machinery/gravity_generator/main/set_fix()
. = ..()