mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
Merge pull request #1663 from hydralauncher/fix/resetting-game-playtime-when-starting-download
fix: reseting game playtime when starting download [HYD-812]
This commit is contained in:
@@ -40,7 +40,7 @@ const startGameDownload = async (
|
||||
/* Delete any previous download */
|
||||
await downloadsSublevel.del(gameKey);
|
||||
|
||||
if (game?.isDeleted) {
|
||||
if (game) {
|
||||
await gamesSublevel.put(gameKey, {
|
||||
...game,
|
||||
isDeleted: false,
|
||||
|
||||
Reference in New Issue
Block a user