Minor fix for mystery

This commit is contained in:
aerinon
2022-05-18 15:16:09 -06:00
parent dbb69359aa
commit 9a6b7c624d
2 changed files with 1 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ class CustomSettings(object):
if isinstance(player_setting, str):
weights = get_weights(os.path.join(self.relative_dir, player_setting))
settings = defaultdict(lambda: None, vars(roll_settings(weights)))
args.mystery = True
else:
settings = defaultdict(lambda: None, player_setting)
args.shuffle[p] = get_setting(settings['shuffle'], args.shuffle[p])

View File

@@ -46,7 +46,6 @@ def roll_settings(weights):
ret = argparse.Namespace()
ret.algorithm = get_choice('algorithm')
ret.mystery = get_choice_default('mystery', default=True)
glitch_map = {'none': 'noglitches', 'no_logic': 'nologic', 'owglitches': 'owglitches',
'owg': 'owglitches', 'minorglitches': 'minorglitches'}