Ports techweb backend refactor & co.

from https://github.com/Citadel-Station-13/Citadel-Station-13/pull/9737
This commit is contained in:
QuoteFox
2021-01-15 18:28:36 +00:00
parent 4128a9fe78
commit 83567cf685
21 changed files with 485 additions and 357 deletions
@@ -69,7 +69,7 @@
if(current_category != "Main")
var/list/program_list = list()
for(var/i in linked_techweb.researched_designs)
var/datum/design/nanites/D = linked_techweb.researched_designs[i]
var/datum/design/nanites/D = SSresearch.techweb_design_by_id(i)
if(!istype(D))
continue
if(current_category in D.category)
@@ -116,9 +116,9 @@
disk.program = null
disk.name = initial(disk.name)
. = TRUE
/obj/machinery/nanite_program_hub/admin/Initialize()
. = ..()
linked_techweb = SSresearch.admin_tech