mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-14 20:22:10 +00:00
refactor: clean up reset game achievements logic
This commit is contained in:
parent
ac6eb247df
commit
afcfcbf482
1 changed files with 1 additions and 2 deletions
|
@ -31,7 +31,6 @@ const resetGameAchievements = async (
|
|||
{ objectId: game.objectID },
|
||||
{
|
||||
unlockedAchievements: null,
|
||||
achievements: null,
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -40,7 +39,7 @@ const resetGameAchievements = async (
|
|||
const gameAchievements = await getUnlockedAchievements(
|
||||
game.objectID,
|
||||
game.shop,
|
||||
false
|
||||
true
|
||||
);
|
||||
|
||||
WindowManager.mainWindow?.webContents.send(
|
||||
|
|
Loading…
Reference in a new issue