Settings code fix

This commit is contained in:
aerinon
2022-06-07 08:10:19 -06:00
parent 62ec084a98
commit 96f25d15a9

View File

@@ -2893,7 +2893,7 @@ class Settings(object):
args.bombbag[p] = True if settings[8] & 0x2 else False args.bombbag[p] = True if settings[8] & 0x2 else False
args.shufflelinks[p] = True if settings[8] & 0x1 else False args.shufflelinks[p] = True if settings[8] & 0x1 else False
if len(settings) > 9: if len(settings) > 9:
args.restrict_boss_items[p] = r(rb_mode)[(settings[9] & 0x80) >> 6] args.restrict_boss_items[p] = r(rb_mode)[(settings[9] & 0xC0) >> 6]
args.algorithm = r(algo_mode)[(settings[9] & 0x38) >> 3] args.algorithm = r(algo_mode)[(settings[9] & 0x38) >> 3]
args.shufflebosses[p] = r(boss_mode)[(settings[9] & 0x07)] args.shufflebosses[p] = r(boss_mode)[(settings[9] & 0x07)]