fix: playtime count

This commit is contained in:
Zamitto 2024-09-17 11:10:44 -03:00
parent 43bc0cb08f
commit 405ea0a824

View file

@ -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 {