diff --git a/src/main/services/process-watcher.ts b/src/main/services/process-watcher.ts index 64b14f4d..2a194bf2 100644 --- a/src/main/services/process-watcher.ts +++ b/src/main/services/process-watcher.ts @@ -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 {