From bd75e6e1f644607338615ec417389ef1e17dd571 Mon Sep 17 00:00:00 2001 From: def Date: Wed, 17 May 2017 18:56:58 +0200 Subject: [PATCH] Actual fix --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 24d2efa91..0767f87e0 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -720,7 +720,7 @@ void CGameContext::OnTick() EndVote(); 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; } else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN)