Revert "Prevent vote spam"

This reverts commit 526a23b191.
This commit is contained in:
def 2017-05-17 18:55:45 +02:00
parent b48005fe40
commit a8966c680e

View file

@ -719,6 +719,9 @@ void CGameContext::OnTick()
Server()->SetRconCID(IServer::RCON_CID_SERV); Server()->SetRconCID(IServer::RCON_CID_SERV);
EndVote(); EndVote();
SendChat(-1, CGameContext::CHAT_ALL, "Vote passed"); SendChat(-1, CGameContext::CHAT_ALL, "Vote passed");
if(m_apPlayers[m_VoteCreator])
m_apPlayers[m_VoteCreator]->m_LastVoteCall = 0;
} }
else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN) else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN)
{ {