This commit is contained in:
Wkeynhk
2025-12-26 01:13:36 +03:00
parent f8ac284bc2
commit 37f085e2c0
2 changed files with 47 additions and 110 deletions

View File

@@ -41,7 +41,6 @@ const startGameDownload = async (
const game = await gamesSublevel.get(gameKey);
const gameAssets = await gamesShopAssetsSublevel.get(gameKey);
/* Delete any previous download */
await downloadsSublevel.del(gameKey);
if (game) {
@@ -82,6 +81,7 @@ const startGameDownload = async (
queued: true,
extracting: false,
automaticallyExtract,
extractionProgress: null,
};
try {
@@ -166,4 +166,4 @@ const startGameDownload = async (
}
};
registerEvent("startGameDownload", startGameDownload);
registerEvent("startGameDownload", startGameDownload);