SaveTool: read OS and arch unlocks on tree initialisation.

This commit is contained in:
Guillaume Jacquemin 2021-08-07 15:13:51 +02:00
parent 609404d181
commit 7cfb8bbbcb

View file

@ -402,8 +402,10 @@ void SaveTool::drawResearchTree() {
_tree->readEngineUnlocks(_currentProfile->engineInventory(), _currentProfile->gearInventory()); _tree->readEngineUnlocks(_currentProfile->engineInventory(), _currentProfile->gearInventory());
_tree->generateOSTree(); _tree->generateOSTree();
_tree->readOSUnlocks(_currentProfile->osInventory(), _currentProfile->moduleInventory());
_tree->generateArchTree(); _tree->generateArchTree();
_tree->readArchUnlocks(_currentProfile->archInventory(), _currentProfile->techInventory());
} }
if(ImGui::BeginTabBar("##TreeTabBar")) { if(ImGui::BeginTabBar("##TreeTabBar")) {