fix: cancel download that is not active

This commit is contained in:
Zamitto 2024-12-23 18:58:49 -03:00
parent e53f4808d5
commit 9f84538b76

View File

@ -222,8 +222,10 @@ export class DownloadManager {
WindowManager.mainWindow?.setProgressBar(-1);
if (gameId === this.downloadingGameId) {
this.downloadingGameId = null;
}
}
static async resumeSeeding(game: Game) {
await PythonRPC.rpc.post("/action", {