Prevent Enabling Block group invites from bricking profile from loading. (!370)
Reviewed-on: https://dev.sp-tarkov.com/SPT/Server/pulls/370
This commit is contained in:
parent
7377a68a9e
commit
c3de305175
@ -497,7 +497,16 @@ export class ProfileController
|
||||
return false;
|
||||
}
|
||||
|
||||
profileToUpdate.Info.SelectedMemberCategory = request.memberCategory;
|
||||
if (request.memberCategory !== null)
|
||||
{
|
||||
profileToUpdate.Info.SelectedMemberCategory = request.memberCategory;
|
||||
}
|
||||
|
||||
if(request.squadInviteRestriction !== null)
|
||||
{
|
||||
profileToUpdate.Info.SquadInviteRestriction = request.squadInviteRestriction;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user