mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-03-03 02:01:47 -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);
|
||||
CVarSave();
|
||||
auto ctx = Rando::Context::GetInstance();
|
||||
/*RANDOTODO proper UI for selecting if a spoiler loaded should be used for settings
|
||||
if (!ctx->IsSpoilerLoaded()) {
|
||||
// We use the settings from the spoiler rather than CVars.
|
||||
ctx->GetSettings()->SetAllFromCVar();
|
||||
}
|
||||
}*/
|
||||
|
||||
// todo: this efficently when we build out cvar array support
|
||||
std::set<RandomizerCheck> excludedLocations;
|
||||
std::stringstream excludedLocationStringStream(CVarGetString(CVAR_RANDOMIZER_SETTING("ExcludedLocations"), ""));
|
||||
|
Loading…
x
Reference in New Issue
Block a user