expirementing with using existing PVE logic

This commit is contained in:
CWX 2024-07-04 23:57:15 +01:00
parent 5ba0de5b80
commit 1e804ce11e
2 changed files with 3 additions and 3 deletions

View File

@ -496,7 +496,7 @@ export class GameController
*/ */
public getGameMode(sessionID: string, info: IGameModeRequestData): any public getGameMode(sessionID: string, info: IGameModeRequestData): any
{ {
return { gameMode: ESessionMode.REGULAR, backendUrl: this.httpServerHelper.getBackendUrl() }; return { gameMode: ESessionMode.PVE, backendUrl: this.httpServerHelper.getBackendUrl() };
} }
/** /**

View File

@ -145,8 +145,8 @@ export class ProfileController
pmcData.aid = account.aid; pmcData.aid = account.aid;
pmcData.savage = account.scavId; pmcData.savage = account.scavId;
pmcData.sessionId = sessionID; pmcData.sessionId = sessionID;
pmcData.Info.Nickname = info.nickname; pmcData.Info.Nickname = account.username;
pmcData.Info.LowerNickname = info.nickname.toLowerCase(); pmcData.Info.LowerNickname = account.username.toLowerCase();
pmcData.Info.RegistrationDate = this.timeUtil.getTimestamp(); pmcData.Info.RegistrationDate = this.timeUtil.getTimestamp();
pmcData.Info.Voice = this.databaseService.getCustomization()[info.voiceId]._name; pmcData.Info.Voice = this.databaseService.getCustomization()[info.voiceId]._name;
pmcData.Stats = this.profileHelper.getDefaultCounters(); pmcData.Stats = this.profileHelper.getDefaultCounters();