diff --git a/code/modules/research/destructive_analyzer.dm b/code/modules/research/destructive_analyzer.dm index 03a6d9934f5..6a6ca353d5a 100644 --- a/code/modules/research/destructive_analyzer.dm +++ b/code/modules/research/destructive_analyzer.dm @@ -179,10 +179,10 @@ var/datum/techweb_node/node_to_discover = SSresearch.techweb_node_by_id(id) if(!istype(node_to_discover)) return FALSE - SSblackbox.record_feedback("nested tally", "item_deconstructed", 1, list("[node_to_discover.id]", "[loaded_item.type]")) if(!destroy_item()) return FALSE - stored_research.unhide_node(SSresearch.techweb_node_by_id(node_to_discover.id)) + SSblackbox.record_feedback("nested tally", "item_deconstructed", 1, list("[node_to_discover.id]", "[loaded_item.type]")) + stored_research.unhide_node(node_to_discover) return TRUE #undef DESTRUCTIVE_ANALYZER_DESTROY_POINTS diff --git a/code/modules/research/techweb/_techweb.dm b/code/modules/research/techweb/_techweb.dm index 8aeb63a9f8a..5bda3865df2 100644 --- a/code/modules/research/techweb/_techweb.dm +++ b/code/modules/research/techweb/_techweb.dm @@ -409,6 +409,8 @@ if(!istype(node)) return FALSE hidden_nodes -= node.id + ///Make it available if the prereq ids are already researched + update_node_status(node) return TRUE /datum/techweb/proc/update_tiers(datum/techweb_node/base)