From 73ad4e5fbb5cc48b1c3809178f8a760ba1163398 Mon Sep 17 00:00:00 2001 From: Kevin Cathcart Date: Tue, 2 Jan 2018 20:01:52 -0500 Subject: [PATCH] Fix balanced algorithm to actually use restrrictive fill for dungeon items --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 6b897367..9cb14401 100644 --- a/Main.py +++ b/Main.py @@ -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)