Fix for not placing Maps and Compasses

It turns out the previous rewrite actually disabled that flag completely in the v26 algorithm. This makes it work again (per KevinCathcart)
This commit is contained in:
AmazingAmpharos 2017-11-10 04:12:49 -06:00 committed by GitHub
parent 2bbba29497
commit 168fd83c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def fill_dungeons_restrictive(world, shuffled_locations):
skull_woods_big_chest.event = True
shuffled_locations.remove(skull_woods_big_chest)
dungeon_items = [item for dungeon in world.dungeons for item in dungeon.all_items]
dungeon_items = [item for dungeon in world.dungeons for item in dungeon.all_items if item.key or world.place_dungeon_items]
# sort in the order Big Key, Small Key, Other before placing dungeon items
sort_order = {"BigKey": 3, "SmallKey": 2}