mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 10:03:48 +01:00
Merge pull request #929 from danielyxie/dev
Fix research tree not appearing
This commit is contained in:
commit
8006e976a5
2
dist/engine.bundle.js
vendored
2
dist/engine.bundle.js
vendored
File diff suppressed because one or more lines are too long
@ -1365,6 +1365,11 @@ Industry.prototype.createResearchBox = function() {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Construct the tree with Treant
|
||||||
|
// This is required for side effect.
|
||||||
|
// eslint-disable-next-line no-new
|
||||||
|
new Treant(markup);
|
||||||
|
|
||||||
// Add Event Listeners for all Nodes
|
// Add Event Listeners for all Nodes
|
||||||
const allResearch = researchTree.getAllNodes();
|
const allResearch = researchTree.getAllNodes();
|
||||||
for (let i = 0; i < allResearch.length; ++i) {
|
for (let i = 0; i < allResearch.length; ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user