Actual fix

This commit is contained in:
def 2017-05-17 18:56:58 +02:00
parent a8966c680e
commit bd75e6e1f6

View file

@ -720,7 +720,7 @@ void CGameContext::OnTick()
EndVote(); EndVote();
SendChat(-1, CGameContext::CHAT_ALL, "Vote passed"); SendChat(-1, CGameContext::CHAT_ALL, "Vote passed");
if(m_apPlayers[m_VoteCreator]) if(m_apPlayers[m_VoteCreator] && !m_VoteKick && !m_VoteSpec)
m_apPlayers[m_VoteCreator]->m_LastVoteCall = 0; m_apPlayers[m_VoteCreator]->m_LastVoteCall = 0;
} }
else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN) else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN)