From f9d5cfce73bcb367ede6c4e15b0e069524ede6cc Mon Sep 17 00:00:00 2001 From: Zamitto <167933696+zamitto@users.noreply.github.com> Date: Thu, 22 May 2025 13:08:24 -0300 Subject: [PATCH] fix: change ticks so it syncs playtime each 2 minutes --- src/main/services/process-watcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/services/process-watcher.ts b/src/main/services/process-watcher.ts index 1bd94e2b..dd051760 100644 --- a/src/main/services/process-watcher.ts +++ b/src/main/services/process-watcher.ts @@ -28,7 +28,7 @@ interface GameExecutables { [key: string]: ExecutableInfo[]; } -const TICKS_TO_UPDATE_API = 120; +const TICKS_TO_UPDATE_API = 80; let currentTick = 1; const isWindowsPlatform = process.platform === "win32";