From fa94f92e15b5e1e7fe2bcdeb4d74b153cc47c133 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 27 Dec 2021 02:57:41 +0100 Subject: fixed settings being saved improperly Im a dumbass and made a tiny mistake... --- src/app/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app') 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!"); -- cgit v1.2.3