Fixes a regression in creating settings string. (#3813)

This commit is contained in:
Christopher Leggett
2024-01-06 13:52:03 -05:00
committed by GitHub
parent 80e6e899a8
commit 1669393277

View File

@@ -37,7 +37,9 @@ int Playthrough_Init(uint32_t seed, std::set<RandomizerCheck> excludedLocations,
for (Rando::Option* option : optionGroup.GetOptions()) {
if (option->IsCategory(Rando::OptionCategory::Setting)) {
settingsStr += option->GetSelectedOptionText();
if (option->GetOptionCount() > 0) {
settingsStr += option->GetSelectedOptionText();
}
}
}
}