mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Fixes a regression in creating settings string. (#3813)
This commit is contained in:
parent
80e6e899a8
commit
1669393277
1 changed files with 3 additions and 1 deletions
|
@ -37,10 +37,12 @@ int Playthrough_Init(uint32_t seed, std::set<RandomizerCheck> excludedLocations,
|
||||||
|
|
||||||
for (Rando::Option* option : optionGroup.GetOptions()) {
|
for (Rando::Option* option : optionGroup.GetOptions()) {
|
||||||
if (option->IsCategory(Rando::OptionCategory::Setting)) {
|
if (option->IsCategory(Rando::OptionCategory::Setting)) {
|
||||||
|
if (option->GetOptionCount() > 0) {
|
||||||
settingsStr += option->GetSelectedOptionText();
|
settingsStr += option->GetSelectedOptionText();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (CVarGetInteger("gRandomizerDontGenerateSpoiler", 0)) {
|
if (CVarGetInteger("gRandomizerDontGenerateSpoiler", 0)) {
|
||||||
settingsStr += (char*)gBuildVersion;
|
settingsStr += (char*)gBuildVersion;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue