Mystery: fix a regression in goals logic

This commit is contained in:
Bonta-kun 2020-01-18 10:06:50 +01:00
parent e941f738ba
commit e214f78293
1 changed files with 3 additions and 2 deletions

View File

@ -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')