mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-20 06:58:20 +00:00
parent
b48005fe40
commit
a8966c680e
|
@ -719,6 +719,9 @@ void CGameContext::OnTick()
|
||||||
Server()->SetRconCID(IServer::RCON_CID_SERV);
|
Server()->SetRconCID(IServer::RCON_CID_SERV);
|
||||||
EndVote();
|
EndVote();
|
||||||
SendChat(-1, CGameContext::CHAT_ALL, "Vote passed");
|
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)
|
else if(m_VoteEnforce == VOTE_ENFORCE_YES_ADMIN)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue