From a8966c680ece1ff0357d497daa1760740c0819f9 Mon Sep 17 00:00:00 2001 From: def Date: Wed, 17 May 2017 18:55:45 +0200 Subject: [PATCH] Revert "Prevent vote spam" This reverts commit 526a23b191ee7068cc9305a061d519e7e6910566. --- src/game/server/gamecontext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index e6bf56353..24d2efa91 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -719,6 +719,9 @@ void CGameContext::OnTick() Server()->SetRconCID(IServer::RCON_CID_SERV); EndVote(); 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) {