Merge branch 'feature/seed-completed-downloads' into feat/achievements-points

This commit is contained in:
Zamitto
2024-12-23 14:09:07 -03:00
8 changed files with 35 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ const pauseGameSeed = async (
shouldSeed: false,
});
await DownloadManager.cancelDownload(gameId);
await DownloadManager.pauseSeeding(gameId);
};
registerEvent("pauseGameSeed", pauseGameSeed);

View File

@@ -22,7 +22,7 @@ const resumeGameSeed = async (
shouldSeed: true,
});
await DownloadManager.startDownload(game);
await DownloadManager.resumeSeeding(game);
};
registerEvent("resumeGameSeed", resumeGameSeed);