From 4baca47f728b6136b80e0d01b71507ef75d3474b Mon Sep 17 00:00:00 2001 From: William JCM Date: Tue, 3 Aug 2021 20:29:35 +0200 Subject: [PATCH] ResearchTree: fix a typo. --- src/ResearchTree/ResearchTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ResearchTree/ResearchTree.cpp b/src/ResearchTree/ResearchTree.cpp index db2dbba..b6ddb3e 100644 --- a/src/ResearchTree/ResearchTree.cpp +++ b/src/ResearchTree/ResearchTree.cpp @@ -389,7 +389,7 @@ void ResearchTree::readEngineUnlocks(Containers::ArrayView engines, Contain } } - if(gears == nullptr || engines.size() == 0) { + if(gears == nullptr || gears.size() == 0) { return; }