diff --git a/project/src/callbacks/ProfileCallbacks.ts b/project/src/callbacks/ProfileCallbacks.ts index 5303ae3b..4203dff2 100644 --- a/project/src/callbacks/ProfileCallbacks.ts +++ b/project/src/callbacks/ProfileCallbacks.ts @@ -118,6 +118,12 @@ export class ProfileCallbacks { * Handle client/game/profile/nickname/reserved */ public getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData { + const fullProfile = this.profileHelper.getFullProfile(sessionID); + if (fullProfile?.info?.username) + { + return this.httpResponse.getBody(fullProfile.info.username); + } + return this.httpResponse.getBody("SPTarkov"); }