diff --git a/soh/soh/Enhancements/randomizer/randomizer.cpp b/soh/soh/Enhancements/randomizer/randomizer.cpp index f5bb7d9d1..080c5d1df 100644 --- a/soh/soh/Enhancements/randomizer/randomizer.cpp +++ b/soh/soh/Enhancements/randomizer/randomizer.cpp @@ -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);