From 41f7e5016d3f7ae5aabcee452dc9ae0906d39674 Mon Sep 17 00:00:00 2001 From: shadowtosser Date: Sat, 20 Apr 2024 21:32:10 -0300 Subject: [PATCH] fix: game dont install in another path after the first installation --- src/main/events/torrenting/start-game-download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/events/torrenting/start-game-download.ts b/src/main/events/torrenting/start-game-download.ts index f661a956..d6c243b5 100644 --- a/src/main/events/torrenting/start-game-download.ts +++ b/src/main/events/torrenting/start-game-download.ts @@ -37,7 +37,7 @@ const startGameDownload = async ( writePipe.write({ action: "pause" }); - const downloadsPath = game?.downloadPath ?? downloadPath; + const downloadsPath = downloadPath; await gameRepository.update( {