expirementing with using existing PVE logic
This commit is contained in:
parent
5ba0de5b80
commit
1e804ce11e
@ -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() };
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user