From 6a1939184d9264ec17096437a8b3dbe0200a05c4 Mon Sep 17 00:00:00 2001 From: oy Date: Tue, 22 Dec 2015 18:23:08 +0100 Subject: [PATCH] fixed last commit --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 8d801af27..d3ef82886 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -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_VoteCancelTimem_Vote == 1) + if(pMsg->m_Vote != -1 || m_VoteCancelTime