Fix a typo in LFG.
Use the proper DungeonID for SMSG_LFG_PROPOSAL_UPDATE if player selected multiple dungeons. Signed-off-by: Anubisss <[email protected]>
This commit is contained in:
@@ -568,7 +568,7 @@ void WorldSession::SendLfgUpdateProposal(uint32 proposalId, const LfgProposal* p
|
|||||||
if (!isContinue) // Only show proposal dungeon if it's continue
|
if (!isContinue) // Only show proposal dungeon if it's continue
|
||||||
{
|
{
|
||||||
LfgDungeonSet playerDungeons = sLFGMgr->GetSelectedDungeons(guid);
|
LfgDungeonSet playerDungeons = sLFGMgr->GetSelectedDungeons(guid);
|
||||||
if (playerDungeons.size())
|
if (playerDungeons.size() == 1)
|
||||||
dungeonId = (*playerDungeons.begin());
|
dungeonId = (*playerDungeons.begin());
|
||||||
}
|
}
|
||||||
if (LFGDungeonEntry const* dungeon = sLFGDungeonStore.LookupEntry(dungeonId))
|
if (LFGDungeonEntry const* dungeon = sLFGDungeonStore.LookupEntry(dungeonId))
|
||||||
|
|||||||
Reference in New Issue
Block a user