Skip to content

Commit

Permalink
fix: playtime count
Browse files Browse the repository at this point in the history
  • Loading branch information
zamitto committed Sep 17, 2024
1 parent 43bc0cb commit 405ea0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/services/process-watcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 405ea0a

Please sign in to comment.