End of voting now only is triggered when the voting time ends,

not when all votes have been received.
This commit is contained in:
hiker 2018-12-16 01:36:52 +11:00
parent ca0cc215db
commit 10bca0f334

View File

@ -1942,7 +1942,12 @@ bool ServerLobby::handleAllVotes(PeerVote *winner_vote)
*winner_vote = vote->second;
return m_peers_votes.size() == cur_players;
// For now: don't trigger start of race if all votes
// have been received. Use:
// return m_peers_votes.size() == cur_players;
// to start the race when all votes have been received.
return false;
} // handleAllVotes
// ----------------------------------------------------------------------------