Super Metroid: fix some file paths

This commit is contained in:
Fabian Dill
2021-11-14 05:27:03 +01:00
parent 2ffa0d0e7f
commit 4cd9711de3
2 changed files with 3 additions and 2 deletions

View File

@@ -327,7 +327,7 @@ class VariaRandomizer:
preset = loadRandoPreset(world, self.player, args)
# use the skill preset from the rando preset
if preset is not None and preset != 'custom' and preset != 'varia_custom' and args.paramsFileName is None:
args.paramsFileName = '{}/{}/{}.json'.format(appDir, getPresetDir(preset), preset)
args.paramsFileName = os.path.join(appDir, getPresetDir(preset), preset+".json")
# if diff preset given, load it
if args.paramsFileName is not None: