mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Prevent Enabling Block group invites from bricking profile from loading. (!370)
Reviewed-on: SPT/Server#370
This commit is contained in:
parent
7377a68a9e
commit
c3de305175
@ -497,7 +497,16 @@ export class ProfileController
|
|||||||
return false;
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user