Core/Dungeon Finder: Fix proposal window now being removed after a proposal success
--HG-- branch : trunk
This commit is contained in:
@@ -1508,19 +1508,18 @@ void LFGMgr::UpdateProposal(uint32 proposalId, uint32 lowGuid, bool accept)
|
||||
plr = (*it);
|
||||
if (sendUpdate)
|
||||
plr->GetSession()->SendUpdateProposal(proposalId, pProposal);
|
||||
plr->SetLfgUpdate(false);
|
||||
if (plr->GetGroup())
|
||||
{
|
||||
plr->GetSession()->SendLfgUpdateParty(LFG_UPDATETYPE_GROUP_FOUND);
|
||||
if (plr->GetGroup() != grp)
|
||||
{
|
||||
plr->GetGroup()->SetLfgQueued(false);
|
||||
plr->RemoveFromGroup();
|
||||
}
|
||||
}
|
||||
else
|
||||
plr->GetSession()->SendLfgUpdatePlayer(LFG_UPDATETYPE_GROUP_FOUND);
|
||||
|
||||
plr->SetLfgUpdate(false);
|
||||
if (plr->GetGroup() != grp)
|
||||
{
|
||||
plr->GetGroup()->SetLfgQueued(false);
|
||||
plr->RemoveFromGroup();
|
||||
}
|
||||
|
||||
if (!grp)
|
||||
{
|
||||
grp = new Group();
|
||||
|
||||
Reference in New Issue
Block a user