From c0d034520ab84c54281e18af2b061ad72b0604e0 Mon Sep 17 00:00:00 2001 From: tobspr Date: Fri, 4 Feb 2022 09:53:44 +0100 Subject: [PATCH] Fix wrong if clause --- electron/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/electron/index.js b/electron/index.js index 4ea7b9b9..41831bdd 100644 --- a/electron/index.js +++ b/electron/index.js @@ -383,6 +383,7 @@ ipcMain.handle("get-mods", async () => { steam.init(isDev); -if (mods) { +// Only allow achievements and puzzle DLC if no mods are loaded +if (mods.length === 0) { steam.listen(); }