mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-03 00:53:47 -04:00
don't search if type is NO_SEARCH
This commit is contained in:
@@ -57,6 +57,9 @@ namespace randomizer::logic::search
|
||||
|
||||
void Search::SearchWorlds()
|
||||
{
|
||||
if (this->_searchMode == SearchMode::NO_SEARCH) {
|
||||
return;
|
||||
}
|
||||
// Get all locations which fit criteria to test on each iteration
|
||||
std::list<area::LocationAccess*> itemLocations = {};
|
||||
for (const auto& world : *(this->_worlds))
|
||||
|
||||
Reference in New Issue
Block a user