diff --git a/project/src/controllers/GameController.ts b/project/src/controllers/GameController.ts index aad79fe5..a73eaa89 100644 --- a/project/src/controllers/GameController.ts +++ b/project/src/controllers/GameController.ts @@ -496,7 +496,7 @@ export class GameController */ public getGameMode(sessionID: string, info: IGameModeRequestData): any { - return { gameMode: ESessionMode.REGULAR, backendUrl: this.httpServerHelper.getBackendUrl() }; + return { gameMode: ESessionMode.PVE, backendUrl: this.httpServerHelper.getBackendUrl() }; } /** diff --git a/project/src/controllers/ProfileController.ts b/project/src/controllers/ProfileController.ts index b21c470b..6d227b91 100644 --- a/project/src/controllers/ProfileController.ts +++ b/project/src/controllers/ProfileController.ts @@ -145,8 +145,8 @@ export class ProfileController pmcData.aid = account.aid; pmcData.savage = account.scavId; pmcData.sessionId = sessionID; - pmcData.Info.Nickname = info.nickname; - pmcData.Info.LowerNickname = info.nickname.toLowerCase(); + pmcData.Info.Nickname = account.username; + pmcData.Info.LowerNickname = account.username.toLowerCase(); pmcData.Info.RegistrationDate = this.timeUtil.getTimestamp(); pmcData.Info.Voice = this.databaseService.getCustomization()[info.voiceId]._name; pmcData.Stats = this.profileHelper.getDefaultCounters();