mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +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 },
|
{ objectId: game.objectID },
|
||||||
{
|
{
|
||||||
unlockedAchievements: null,
|
unlockedAchievements: null,
|
||||||
achievements: null,
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -40,7 +39,7 @@ const resetGameAchievements = async (
|
||||||
const gameAchievements = await getUnlockedAchievements(
|
const gameAchievements = await getUnlockedAchievements(
|
||||||
game.objectID,
|
game.objectID,
|
||||||
game.shop,
|
game.shop,
|
||||||
false
|
true
|
||||||
);
|
);
|
||||||
|
|
||||||
WindowManager.mainWindow?.webContents.send(
|
WindowManager.mainWindow?.webContents.send(
|
||||||
|
|
Loading…
Reference in a new issue