diff options
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main.js b/src/app/main.js index 404e762..82d6526 100644 --- a/src/app/main.js +++ b/src/app/main.js @@ -9,7 +9,7 @@ var settings = { } if (fs.existsSync(settings.file)) { - settings.gamepath = {...settings, ...JSON.parse(fs.readFileSync(settings.file, "utf8"))}; + settings = {...settings, ...JSON.parse(fs.readFileSync(settings.file, "utf8"))}; settings.zip = path.join(settings.gamepath + "/northstar.zip"); } else { alert("Game path is not set! Please select the path!"); |