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:
1 parent
e52886130f
commit
1d77667ff7
1 file changed
+1
-1
@@ -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