mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 01:33:56 +00:00
feat: real time achievement track
This commit is contained in:
@@ -79,7 +79,7 @@ function onOpenGame(game: Game) {
|
||||
createGame({ ...game, lastTimePlayed: new Date() }).catch(() => {});
|
||||
}
|
||||
|
||||
startGameAchievementObserver(game.id);
|
||||
startGameAchievementObserver(game);
|
||||
}
|
||||
|
||||
function onTickGame(game: Game) {
|
||||
@@ -116,6 +116,8 @@ function onTickGame(game: Game) {
|
||||
})
|
||||
.catch(() => {});
|
||||
}
|
||||
|
||||
startGameAchievementObserver(game);
|
||||
}
|
||||
|
||||
const onCloseGame = (game: Game) => {
|
||||
|
||||
Reference in New Issue
Block a user