From 3d60d3ab5019c73001617efadd722746ab57ca17 Mon Sep 17 00:00:00 2001 From: AmazingAmpharos Date: Thu, 9 Nov 2017 04:45:13 -0600 Subject: [PATCH] Keysanity in older algorithms This just makes older algorithms use v26's dungeon item distribution if keysanity is enabled. --- Main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.py b/Main.py index 638a9564..1b5bd821 100644 --- a/Main.py +++ b/Main.py @@ -58,7 +58,7 @@ def main(args, seed=None): logger.info('Placing Dungeon Items.') shuffled_locations = None - if args.algorithm == 'vt26': + if args.algorithm == 'vt26' or args.keysanity: shuffled_locations = world.get_unfilled_locations() random.shuffle(shuffled_locations) fill_dungeons_restrictive(world, shuffled_locations)