Move logging
This commit is contained in:
parent
22279a7353
commit
bb9d3739c4
@ -66,8 +66,6 @@ export class GameController
|
|||||||
|
|
||||||
public gameStart(_url: string, _info: IEmptyRequestData, sessionID: string, startTimeStampMS: number): void
|
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
|
// Store start time in app context
|
||||||
this.applicationContext.addValue(ContextVariableType.CLIENT_START_TIMESTAMP, startTimeStampMS);
|
this.applicationContext.addValue(ContextVariableType.CLIENT_START_TIMESTAMP, startTimeStampMS);
|
||||||
|
|
||||||
@ -84,6 +82,8 @@ export class GameController
|
|||||||
const fullProfile = this.profileHelper.getFullProfile(sessionID);
|
const fullProfile = this.profileHelper.getFullProfile(sessionID);
|
||||||
const pmcProfile = fullProfile.characters.pmc;
|
const pmcProfile = fullProfile.characters.pmc;
|
||||||
|
|
||||||
|
this.logger.debug(`Started game with sessionId: ${sessionID}`);
|
||||||
|
|
||||||
if (pmcProfile.Health)
|
if (pmcProfile.Health)
|
||||||
{
|
{
|
||||||
this.updateProfileHealthValues(pmcProfile);
|
this.updateProfileHealthValues(pmcProfile);
|
||||||
|
Loading…
Reference in New Issue
Block a user