mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Dungeon Finder: Fix a typo that made all people being removed from queue when someone didn't accept
--HG-- branch : trunk
This commit is contained in:
@@ -1107,7 +1107,7 @@ void LFGMgr::RemoveProposal(LfgProposalMap::iterator itProposal, LfgUpdateType t
|
||||
pProposal->state = LFG_PROPOSAL_FAILED;
|
||||
|
||||
// Mark all people that didn't answered as no accept
|
||||
if (LFG_UPDATETYPE_PROPOSAL_FAILED)
|
||||
if (type == LFG_UPDATETYPE_PROPOSAL_FAILED)
|
||||
for (LfgProposalPlayerMap::const_iterator it = pProposal->players.begin(); it != pProposal->players.end(); ++it)
|
||||
if (it->second->accept < 1)
|
||||
it->second->accept = 0;
|
||||
|
||||
Reference in New Issue
Block a user