mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 19:31:03 +00:00
Merge branch 'feature/seed-completed-downloads' into feat/achievements-points
This commit is contained in:
@@ -11,7 +11,7 @@ const pauseGameSeed = async (
|
||||
shouldSeed: false,
|
||||
});
|
||||
|
||||
await DownloadManager.cancelDownload(gameId);
|
||||
await DownloadManager.pauseSeeding(gameId);
|
||||
};
|
||||
|
||||
registerEvent("pauseGameSeed", pauseGameSeed);
|
||||
|
||||
@@ -22,7 +22,7 @@ const resumeGameSeed = async (
|
||||
shouldSeed: true,
|
||||
});
|
||||
|
||||
await DownloadManager.startDownload(game);
|
||||
await DownloadManager.resumeSeeding(game);
|
||||
};
|
||||
|
||||
registerEvent("resumeGameSeed", resumeGameSeed);
|
||||
|
||||
Reference in New Issue
Block a user