Re-enable end of voting as soon as s vote from each player is received.
This commit is contained in:
parent
b413cc7328
commit
f01465fc93
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user