From e214f78293fcb426497d63c251593ba7c0b2f237 Mon Sep 17 00:00:00 2001 From: Bonta-kun <40473493+Bonta0@users.noreply.github.com> Date: Sat, 18 Jan 2020 10:06:50 +0100 Subject: [PATCH] Mystery: fix a regression in goals logic --- Mystery.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mystery.py b/Mystery.py index f80eb316..c857d3eb 100644 --- a/Mystery.py +++ b/Mystery.py @@ -145,13 +145,14 @@ def roll_settings(weights): entrance_shuffle = get_choice('entrance_shuffle') ret.shuffle = entrance_shuffle if entrance_shuffle != 'none' else 'vanilla' + goal = get_choice('goals') ret.goal = {'ganon': 'ganon', 'fast_ganon': 'crystals', 'dungeons': 'dungeons', 'pedestal': 'pedestal', 'triforce-hunt': 'triforcehunt' - }[get_choice('goals')] - ret.openpyramid = ret.goal == 'fast_ganon' + }[goal] + ret.openpyramid = goal == 'fast_ganon' ret.crystals_gt = get_choice('tower_open')