From bb9d3739c4203963d1507c3ea249cdf2893d8403 Mon Sep 17 00:00:00 2001 From: Dev Date: Tue, 30 May 2023 13:58:02 +0100 Subject: [PATCH] Move logging --- project/src/controllers/GameController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index 943b546a..a28fbd41 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -66,8 +66,6 @@ export class GameController public gameStart(_url: string, _info: IEmptyRequestData, sessionID: string, startTimeStampMS: number): void { - this.logger.debug(`Started game with sessionId: ${sessionID}`); - // Store start time in app context this.applicationContext.addValue(ContextVariableType.CLIENT_START_TIMESTAMP, startTimeStampMS); @@ -84,6 +82,8 @@ export class GameController const fullProfile = this.profileHelper.getFullProfile(sessionID); const pmcProfile = fullProfile.characters.pmc; + this.logger.debug(`Started game with sessionId: ${sessionID}`); + if (pmcProfile.Health) { this.updateProfileHealthValues(pmcProfile);