mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
fix: syncing achievements when game is deleted
This commit is contained in:
@@ -168,7 +168,7 @@ export class AchievementWatcherManager {
|
||||
if (this.alreadySyncedGames.get(gameKey)) return;
|
||||
|
||||
const game = await gamesSublevel.get(gameKey).catch(() => null);
|
||||
if (!game) return;
|
||||
if (!game || game.isDeleted) return;
|
||||
|
||||
const gameAchievementFiles = findAchievementFiles(game);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user