Fix wrong if clause

This commit is contained in:
tobspr 2022-02-04 09:53:44 +01:00
parent edd57b3956
commit c0d034520a
1 changed files with 2 additions and 1 deletions

View File

@ -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();
}