From 7cfb8bbbcbaeabd017c72bfc97b2c1e45178df97 Mon Sep 17 00:00:00 2001 From: William JCM Date: Sat, 7 Aug 2021 15:13:51 +0200 Subject: [PATCH] SaveTool: read OS and arch unlocks on tree initialisation. --- src/SaveTool/SaveTool_MainManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SaveTool/SaveTool_MainManager.cpp b/src/SaveTool/SaveTool_MainManager.cpp index 78eda67..97018fa 100644 --- a/src/SaveTool/SaveTool_MainManager.cpp +++ b/src/SaveTool/SaveTool_MainManager.cpp @@ -402,8 +402,10 @@ void SaveTool::drawResearchTree() { _tree->readEngineUnlocks(_currentProfile->engineInventory(), _currentProfile->gearInventory()); _tree->generateOSTree(); + _tree->readOSUnlocks(_currentProfile->osInventory(), _currentProfile->moduleInventory()); _tree->generateArchTree(); + _tree->readArchUnlocks(_currentProfile->archInventory(), _currentProfile->techInventory()); } if(ImGui::BeginTabBar("##TreeTabBar")) {