ResearchTree: add a missing early return.
This commit is contained in:
parent
4baca47f72
commit
be4d1029c5
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) {
|
||||
if(engines == nullptr || engines.size() == 0) {
|
||||
Utility::Error{} << "Engines can't be empty";
|
||||
return;
|
||||
}
|
||||
|
||||
for(Int& engine : engines) {
|
||||
|
|
Loading…
Reference in a new issue