mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Vote caller never counts as afk
This commit is contained in:
parent
fbe1bcbf39
commit
1f2b09303f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue