mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
Actual fix
This commit is contained in:
parent
a8966c680e
commit
bd75e6e1f6
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue