Revert voting change

This commit is contained in:
def 2018-01-13 21:40:29 +01:00
parent 16117f74d7
commit 3ee76bc5ff

View file

@ -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;