don't search if type is NO_SEARCH

This commit is contained in:
gymnast86
2026-05-21 05:53:27 -07:00
parent fd523a7e4d
commit be4a1d8838
@@ -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))