mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-03-03 10:11:51 -05:00
remove taking settings from a loaded spoiler instead of the imGUI settings (#4812)
This commit is contained in:
parent
537a57c361
commit
700c1a808d
@ -1873,10 +1873,12 @@ void GenerateRandomizerImgui(std::string seed = "") {
|
|||||||
CVarSetInteger(CVAR_GENERAL("RandoGenerating"), 1);
|
CVarSetInteger(CVAR_GENERAL("RandoGenerating"), 1);
|
||||||
CVarSave();
|
CVarSave();
|
||||||
auto ctx = Rando::Context::GetInstance();
|
auto ctx = Rando::Context::GetInstance();
|
||||||
|
/*RANDOTODO proper UI for selecting if a spoiler loaded should be used for settings
|
||||||
if (!ctx->IsSpoilerLoaded()) {
|
if (!ctx->IsSpoilerLoaded()) {
|
||||||
// We use the settings from the spoiler rather than CVars.
|
// We use the settings from the spoiler rather than CVars.
|
||||||
ctx->GetSettings()->SetAllFromCVar();
|
ctx->GetSettings()->SetAllFromCVar();
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// todo: this efficently when we build out cvar array support
|
// todo: this efficently when we build out cvar array support
|
||||||
std::set<RandomizerCheck> excludedLocations;
|
std::set<RandomizerCheck> excludedLocations;
|
||||||
std::stringstream excludedLocationStringStream(CVarGetString(CVAR_RANDOMIZER_SETTING("ExcludedLocations"), ""));
|
std::stringstream excludedLocationStringStream(CVarGetString(CVAR_RANDOMIZER_SETTING("ExcludedLocations"), ""));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user