mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-30 23:10:14 -05:00
fix excluded locations being removed if you haven't viewed the location tab (#2518)
This commit is contained in:
parent
3d30f1701a
commit
6e4b1aec2a
@ -2950,6 +2950,9 @@ void GenerateRandomizerImgui(std::string seed = "") {
|
||||
excludedLocations.insert((RandomizerCheck)std::stoi(excludedLocationString));
|
||||
}
|
||||
|
||||
// Update the visibilitiy before removing conflicting excludes (in case the locations tab wasn't viewed)
|
||||
RandomizerCheckObjects::UpdateImGuiVisibility();
|
||||
|
||||
// Remove excludes for locations that are no longer allowed to be excluded
|
||||
for (auto [randomizerCheck, rcObject] : RandomizerCheckObjects::GetAllRCObjects()) {
|
||||
auto elfound = excludedLocations.find(rcObject.rc);
|
||||
|
Loading…
Reference in New Issue
Block a user