mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 13:00:11 -07:00
properly clear location subcatagories when generating a seed (#5707)
This commit is contained in:
parent
be77a9be71
commit
b87f1432fd
1 changed files with 4 additions and 0 deletions
|
@ -161,6 +161,10 @@ bool Context::IsQuestOfLocationActive(RandomizerCheck rc) {
|
|||
|
||||
void Context::GenerateLocationPool() {
|
||||
allLocations.clear();
|
||||
overworldLocations.clear();
|
||||
for (auto dungeon : ctx->GetDungeons()->GetDungeonList()) {
|
||||
dungeon->locations.clear();
|
||||
}
|
||||
for (Location& location : StaticData::GetLocationTable()) {
|
||||
// skip RCs that shouldn't be in the pool for any reason (i.e. settings, unsupported check type, etc.)
|
||||
// TODO: Exclude checks for some of the older shuffles from the pool too i.e. Frog Songs, Scrubs, etc.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue