mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-31 03:50:37 -07:00
Fix keysanity Any Dungeon setting. (#4020)
Due to a typo a few months ago, it was accidentally being ignored and treated as Anywhere. Own Dungeon may have also been doing weird things, but I'm not entirely sure.
This commit is contained in:
parent
854fb67797
commit
c162af818d
1 changed files with 1 additions and 1 deletions
|
@ -893,7 +893,7 @@ static void RandomizeDungeonItems() {
|
|||
std::vector<RandomizerGet> overworldItems;
|
||||
|
||||
for (auto dungeon : ctx->GetDungeons()->GetDungeonList()) {
|
||||
if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_OWN_DUNGEON)) {
|
||||
if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_ANY_DUNGEON)) {
|
||||
auto dungeonKeys = FilterAndEraseFromPool(ItemPool, [dungeon](const RandomizerGet i){return (i == dungeon->GetSmallKey()) || (i == dungeon->GetKeyRing());});
|
||||
AddElementsToPool(anyDungeonItems, dungeonKeys);
|
||||
} else if (ctx->GetOption(RSK_KEYSANITY).Is(RO_DUNGEON_ITEM_LOC_OVERWORLD)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue