LTTP: fix own_dungeon setting from not being placed in the player's own world (#3816)

This commit is contained in:
Aaron Wagener
2024-08-24 03:54:33 -05:00
committed by GitHub
parent 83367c6946
commit dddffa1660
2 changed files with 62 additions and 0 deletions

View File

@@ -356,6 +356,8 @@ class ALTTPWorld(World):
self.dungeon_local_item_names |= self.item_name_groups[option.item_name_group]
if option == "original_dungeon":
self.dungeon_specific_item_names |= self.item_name_groups[option.item_name_group]
else:
self.options.local_items.value |= self.dungeon_local_item_names
self.difficulty_requirements = difficulties[multiworld.item_pool[player].current_key]