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
|
||||
{
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user