mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: playtime count
This commit is contained in:
parent
43bc0cb08f
commit
405ea0a824
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ const onCloseGame = (game: Game) => {
|
|||
if (game.remoteId) {
|
||||
updateGamePlaytime(
|
||||
game,
|
||||
performance.now() - gamePlaytime.firstTick,
|
||||
performance.now() - gamePlaytime.lastSyncTick,
|
||||
game.lastTimePlayed!
|
||||
).catch(() => {});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue