mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-29 05:41:03 +00:00
fix: start another download after finishing one
This commit is contained in:
@@ -122,9 +122,11 @@ export class RealDebridDownloader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static async pauseDownload() {
|
static async pauseDownload() {
|
||||||
const gid = this.downloads.get(this.downloadingGame!.id!);
|
if (this.downloadingGame) {
|
||||||
if (gid) {
|
const gid = this.downloads.get(this.downloadingGame.id);
|
||||||
await HTTPDownload.pauseDownload(gid);
|
if (gid) {
|
||||||
|
await HTTPDownload.pauseDownload(gid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.realDebridTorrentId = null;
|
this.realDebridTorrentId = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user