mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 16:19:36 +01:00
Fix gravy gen area detection happening too early
This commit is contained in:
@@ -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()
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user