mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Oops
This commit is contained in:
parent
e29de3295f
commit
2ebc993379
|
@ -775,7 +775,7 @@ void CGameContext::OnTick()
|
|||
m_VoteWillPass = Yes > (Yes + No) / (100.0 / g_Config.m_SvVoteYesPercentage);
|
||||
}
|
||||
|
||||
if(Yes == Total)
|
||||
if(Total > 0 && Yes == Total)
|
||||
m_VoteEnforce = VOTE_ENFORCE_YES;
|
||||
|
||||
if(time_get() > m_VoteCloseTime)
|
||||
|
|
Loading…
Reference in a new issue