Fix balanced algorithm to actually use restrrictive fill for dungeon items

This commit is contained in:
Kevin Cathcart
2018-01-02 20:01:52 -05:00
parent e3ac7ee4a6
commit 73ad4e5fbb

View File

@@ -61,7 +61,7 @@ def main(args, seed=None):
logger.info('Placing Dungeon Items.')
shuffled_locations = None
if args.algorithm == 'vt26' or args.keysanity:
if args.algorithm in ['balanced', 'vt26'] or args.keysanity:
shuffled_locations = world.get_unfilled_locations()
random.shuffle(shuffled_locations)
fill_dungeons_restrictive(world, shuffled_locations)