mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-03-03 18:21:55 -05:00
Fixes a regression in creating settings string. (#3813)
This commit is contained in:
parent
80e6e899a8
commit
1669393277
@ -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…
x
Reference in New Issue
Block a user