From 16655349f5376f86848040144ed67957fce98611 Mon Sep 17 00:00:00 2001 From: Phil Despotos Date: Fri, 4 Feb 2022 19:29:53 -0600 Subject: [PATCH] Fix research tree of product industries post-prestige After destroying a BitNode, the `resetIndustryResearchTrees` reset all industries to the _base_ research tree, leaving the product industries without the `uPgrade` researches in the graph. So corporations started in the next BitNode were unable to expand product capacity. This fixes that reset function to use the correct product industry tree. --- src/Corporation/IndustryData.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Corporation/IndustryData.tsx b/src/Corporation/IndustryData.tsx index 998faa573..d2ae99dd3 100644 --- a/src/Corporation/IndustryData.tsx +++ b/src/Corporation/IndustryData.tsx @@ -227,13 +227,13 @@ export function resetIndustryResearchTrees(): void { IndustryResearchTrees.Agriculture = getBaseResearchTreeCopy(); IndustryResearchTrees.Fishing = getBaseResearchTreeCopy(); IndustryResearchTrees.Mining = getBaseResearchTreeCopy(); - IndustryResearchTrees.Food = getBaseResearchTreeCopy(); - IndustryResearchTrees.Tobacco = getBaseResearchTreeCopy(); + IndustryResearchTrees.Food = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.Tobacco = getProductIndustryResearchTreeCopy(); IndustryResearchTrees.Chemical = getBaseResearchTreeCopy(); - IndustryResearchTrees.Pharmaceutical = getBaseResearchTreeCopy(); - IndustryResearchTrees.Computer = getBaseResearchTreeCopy(); - IndustryResearchTrees.Robotics = getBaseResearchTreeCopy(); - IndustryResearchTrees.Software = getBaseResearchTreeCopy(); - IndustryResearchTrees.Healthcare = getBaseResearchTreeCopy(); - IndustryResearchTrees.RealEstate = getBaseResearchTreeCopy(); + IndustryResearchTrees.Pharmaceutical = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.Computer = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.Robotics = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.Software = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.Healthcare = getProductIndustryResearchTreeCopy(); + IndustryResearchTrees.RealEstate = getProductIndustryResearchTreeCopy(); }