fix: customizer bug when placing small keys

fix: hera basement cage fix - again
This commit is contained in:
aerinon
2024-06-17 17:16:22 -06:00
parent 9a34024d90
commit e6b0239d24
4 changed files with 5 additions and 3 deletions

View File

@@ -2087,7 +2087,7 @@ def shuffle_small_key_doors(door_type_pools, used_doors, start_regions_map, all_
if actual_chest_keys == 0:
dungeon.small_keys = []
else:
dungeon.small_keys = [ItemFactory(dungeon_keys[dungeon_name], player)] * actual_chest_keys
dungeon.small_keys = [ItemFactory(dungeon_keys[dungeon_name], player) for _ in range(actual_chest_keys)]
for name, small_list in small_map.items():
used_doors.update(flatten_pair_list(small_list))