Merge pull request #6690 from VOREStation/vplk-ntnet-fixer

Fixes to Modular Computers and NTNet Relays
This commit is contained in:
Atermonera
2020-02-20 22:57:02 -08:00
committed by VirgoBot
parent a41caca3ca
commit 1010fd283b
8 changed files with 31 additions and 37 deletions

View File

@@ -31,9 +31,10 @@ var/global/datum/ntnet/ntnet_global = new()
/datum/ntnet/New()
if(ntnet_global && (ntnet_global != src))
ntnet_global = src // There can be only one.
for(var/obj/machinery/ntnet_relay/R in machines)
relays.Add(R)
R.NTNet = src
if (SSatoms && SSatoms.initialized > INITIALIZATION_INSSATOMS)
for(var/obj/machinery/ntnet_relay/R in machines)
relays.Add(R)
R.NTNet = src
build_software_lists()
build_news_list()
build_emails_list()