mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed last commit
This commit is contained in:
parent
49901e6fd7
commit
6a1939184d
|
@ -889,7 +889,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
|
|||
else if(m_VoteCreator == pPlayer->GetCID())
|
||||
{
|
||||
CNetMsg_Cl_Vote *pMsg = (CNetMsg_Cl_Vote *)pRawMsg;
|
||||
if(!pMsg->m_Vote || m_VoteCancelTime<time_get() || pMsg->m_Vote == 1)
|
||||
if(pMsg->m_Vote != -1 || m_VoteCancelTime<time_get())
|
||||
return;
|
||||
|
||||
m_VoteCloseTime = -1;
|
||||
|
|
Loading…
Reference in a new issue