mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Revert voting change
This commit is contained in:
parent
16117f74d7
commit
3ee76bc5ff
|
@ -775,9 +775,6 @@ void CGameContext::OnTick()
|
|||
m_VoteWillPass = Yes > (Yes + No) / (100.0 / g_Config.m_SvVoteYesPercentage);
|
||||
}
|
||||
|
||||
if(Total > 0 && Yes == Total)
|
||||
m_VoteEnforce = VOTE_ENFORCE_YES;
|
||||
|
||||
if(time_get() > m_VoteCloseTime && !g_Config.m_SvVoteMajority)
|
||||
m_VoteEnforce = (m_VoteWillPass && !Veto) ? VOTE_ENFORCE_YES : VOTE_ENFORCE_NO;
|
||||
|
||||
|
|
Loading…
Reference in a new issue