Enhacment presets no longer reimport randomiser settings (#4561)

* Enhacment presets no longer reimport randomiser settings

* make the change only apply to the Randomiser button instead
This commit is contained in:
Pepper0ni
2024-11-19 23:22:54 +00:00
committed by GitHub
parent 53b72a2507
commit 3e313bd063

View File

@@ -74,7 +74,9 @@ void DrawPresetSelector(PresetType presetTypeId) {
applyPreset(selectedPresetDef.entries);
}
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
if (presetTypeId == PRESET_TYPE_RANDOMIZER){
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
}
}
ImGui::PopStyleVar(1);
}