mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 01:33:56 +00:00
refactor: clean up reset game achievements logic
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user