Revert "[MIRROR] /atom New() => Initialize() [MDB IGNORE]"

This commit is contained in:
Novacat
2022-08-27 08:49:56 -04:00
committed by GitHub
parent 0be7af4774
commit 1aa4c73e8d
599 changed files with 3329 additions and 4983 deletions
+4 -3
View File
@@ -2,13 +2,14 @@
var/list/z_levels = list()// Each bit re... haha just kidding this is a list of bools now
// If the height is more than 1, we mark all contained levels as connected.
INITIALIZE_IMMEDIATE(/obj/effect/landmark/map_data)
/obj/effect/landmark/map_data/Initialize()
..()
/obj/effect/landmark/map_data/New()
for(var/i = (z - height + 1) to (z-1))
if (z_levels.len <i)
z_levels.len = i
z_levels[i] = TRUE
/obj/effect/landmark/map_data/Initialize()
..()
return INITIALIZE_HINT_QDEL
// The storage of connections between adjacent levels means some bitwise magic is needed.