From 2307e968231e17644d74c84cfe58bddebe23678a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lu=C3=ADs?= 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( {