Vote caller never counts as afk

This commit is contained in:
def 2015-07-08 16:04:54 +02:00
parent fbe1bcbf39
commit 1f2b09303f

View file

@ -634,7 +634,7 @@ void CGameContext::OnTick()
GetPlayerChar(m_VoteCreator)->Team() != GetPlayerChar(i)->Team())))
continue;
if (m_apPlayers[i]->m_Afk)
if(m_apPlayers[i]->m_Afk && i != m_VoteCreator)
continue;
int ActVote = m_apPlayers[i]->m_Vote;