Re-enable end of voting as soon as s vote from each player is received.

This commit is contained in:
hiker 2018-12-10 09:14:52 +11:00
parent b413cc7328
commit f01465fc93

View File

@ -1941,7 +1941,7 @@ bool ServerLobby::handleAllVotes(PeerVote *winner_vote)
std::advance(vote, r.get(m_peers_votes.size()) );
*winner_vote = vote->second;
return false;
return m_peers_votes.size() == cur_players;
} // handleAllVotes