more code clean up (#10330)

This commit is contained in:
Kashargul
2025-03-07 16:57:03 +01:00
committed by GitHub
parent c78c0aec04
commit 9d5f8c09bd
25 changed files with 83 additions and 130 deletions

View File

@@ -50,7 +50,7 @@ GLOBAL_VAR_INIT(dynamic_sector_master, null)
shuttle_landmarks[i] = spawn_directions
generated_z = TRUE
/obj/effect/overmap/visitable/dynamic/Initialize()
/obj/effect/overmap/visitable/dynamic/Initialize(mapload)
if(!GLOB.dynamic_sector_master)
GLOB.dynamic_sector_master = src
. = ..()
@@ -141,7 +141,7 @@ GLOBAL_VAR_INIT(dynamic_sector_master, null)
var/loaded = FALSE
var/my_index = 0 // Tracks which z-level we're using in the parent. Corresponds to index in parent's active_pois[]
/obj/effect/overmap/visitable/dynamic/poi/Initialize()
/obj/effect/overmap/visitable/dynamic/poi/Initialize(mapload)
if(!global.using_map.use_overmap)
return INITIALIZE_HINT_QDEL