mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7396] Fixed crash at group disband after some player invite decline and offline.
Correctly cleanup invites list at decline.
This commit is contained in:
parent
2159dee379
commit
1727657ab5
3 changed files with 7 additions and 17 deletions
|
|
@ -2074,7 +2074,7 @@ void Player::UninviteFromGroup()
|
|||
|
||||
group->RemoveInvite(this);
|
||||
|
||||
if(group->GetMembersCount() <= 1) // group has just 1 member => disband
|
||||
if(group->GetMembersCount() <= 1) // group has just 1 member => disband
|
||||
{
|
||||
if(group->IsCreated())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue