From 6378ac6f87e75b9a8555ce28b4b643ca2e826bc5 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 23 Jan 2024 10:14:37 +0000 Subject: [PATCH] Add back CLIENT_START_TIMESTAMP saving on game start --- project/src/controllers/GameController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 305c6b2d..b896a2aa 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -100,6 +100,9 @@ export class GameController */ public gameStart(_url: string, _info: IEmptyRequestData, sessionID: string, startTimeStampMS: number): void { + // Store client start time in app context + this.applicationContext.addValue(ContextVariableType.CLIENT_START_TIMESTAMP, startTimeStampMS); + if (this.coreConfig.fixes.fixShotgunDispersion) { this.fixShotgunDispersions();