mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-23 18:02:18 -05:00
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:
parent
53b72a2507
commit
3e313bd063
@ -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();
|
||||||
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
|
if (presetTypeId == PRESET_TYPE_RANDOMIZER){
|
||||||
|
Rando::Context::GetInstance()->GetSettings()->ReloadOptions();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
ImGui::PopStyleVar(1);
|
ImGui::PopStyleVar(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user