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

This commit is contained in:
MistakeNot4892
2021-11-14 19:09:14 +11:00
committed by VirgoBot
parent 47c8115916
commit 3f9af78f3a
587 changed files with 12315 additions and 2669 deletions
@@ -31,7 +31,7 @@ var/global/datum/ntnet/ntnet_global = new()
/datum/ntnet/New()
if(ntnet_global && (ntnet_global != src))
ntnet_global = src // There can be only one.
if (SSatoms && SSatoms.initialized > INITIALIZATION_INSSATOMS)
if(SSatoms?.atom_init_stage > INITIALIZATION_INSSATOMS)
for(var/obj/machinery/ntnet_relay/R in machines)
relays.Add(R)
R.NTNet = src
@@ -95,13 +95,10 @@
ntnet_global.add_log("Manual override: Network blacklist cleared.")
. = TRUE
/obj/machinery/ntnet_relay/New()
..()
assign_uid()
default_apply_parts()
/obj/machinery/ntnet_relay/Initialize()
. = ..()
assign_uid()
default_apply_parts()
if(ntnet_global)
ntnet_global.relays.Add(src)
NTNet = ntnet_global