SaveTool: read OS and arch unlocks on tree initialisation.
This commit is contained in:
parent
609404d181
commit
7cfb8bbbcb
1 changed files with 2 additions and 0 deletions
|
@ -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")) {
|
||||||
|
|
Loading…
Reference in a new issue