Super Metroid: more path fixes

This commit is contained in:
Fabian Dill
2021-11-14 20:51:10 +01:00
parent 55bfc71269
commit 16cd2760a4
4 changed files with 12 additions and 15 deletions

View File

@@ -352,7 +352,7 @@ class VariaRandomizer:
sys.exit(-1)
else:
preset = 'default'
PresetLoader.factory('{}/{}/{}.json'.format(appDir, getPresetDir('casual'), 'casual')).load(self.player)
PresetLoader.factory(os.path.join(appDir, getPresetDir('casual'), 'casual.json')).load(self.player)