WIP: Add a research tree view #1
1 changed files with 1 additions and 0 deletions
|
@ -381,6 +381,7 @@ void ResearchTree::generateArchTree() {
|
||||||
void ResearchTree::readEngineUnlocks(Containers::ArrayView<Int> engines, Containers::ArrayView<Int> gears) {
|
void ResearchTree::readEngineUnlocks(Containers::ArrayView<Int> engines, Containers::ArrayView<Int> gears) {
|
||||||
if(engines == nullptr || engines.size() == 0) {
|
if(engines == nullptr || engines.size() == 0) {
|
||||||
Utility::Error{} << "Engines can't be empty";
|
Utility::Error{} << "Engines can't be empty";
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
for(Int& engine : engines) {
|
for(Int& engine : engines) {
|
||||||
|
|
Loading…
Reference in a new issue