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:
@@ -74,7 +74,9 @@ void DrawPresetSelector(PresetType presetTypeId) {
|
|||||||
applyPreset(selectedPresetDef.entries);
|
applyPreset(selectedPresetDef.entries);
|
||||||
}
|
}
|
||||||
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
|
Ship::Context::GetInstance()->GetWindow()->GetGui()->SaveConsoleVariablesOnNextTick();
|
||||||
|
if (presetTypeId == PRESET_TYPE_RANDOMIZER){
|
||||||
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
|
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
ImGui::PopStyleVar(1);
|
ImGui::PopStyleVar(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user