summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPepper0ni <93387759+Pepper0ni@users.noreply.github.com>2024-11-19 23:22:54 +0000
committerGitHub <noreply@github.com>2024-11-19 16:22:54 -0700
commit3e313bd0632cdced509e49d56695476a21aabe69 (patch)
tree20f37a1784f8deb301bcb02ef0edd417982b683d
parent53b72a2507172f9160bf482658ec694682921079 (diff)
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
-rw-r--r--soh/soh/Enhancements/presets.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/soh/Enhancements/presets.cpp b/soh/soh/Enhancements/presets.cpp
index c98f64eda..8c7126e42 100644
--- a/soh/soh/Enhancements/presets.cpp
+++ b/soh/soh/Enhancements/presets.cpp
@@ -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);
}