LttP: fix multithreading racing condition resulting in Ganon giving the wrong prog bow hint, also have one less world.find_items() which is quite cpu expensive

This commit is contained in:
Fabian Dill
2021-09-20 01:00:09 +02:00
parent 061cc69a6a
commit 111e11924f
3 changed files with 24 additions and 22 deletions

View File

@@ -51,6 +51,7 @@ class ALTTPWorld(World):
self.dungeon_local_item_names = set()
self.dungeon_specific_item_names = set()
self.rom_name_available_event = threading.Event()
self.has_progressive_bows = False
super(ALTTPWorld, self).__init__(*args, **kwargs)
def generate_early(self):