fixed bug amb402

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40965
This commit is contained in:
David Anderson 2007-06-16 21:42:05 +00:00
parent d8f7096f78
commit fe0d41198b

View File

@ -598,6 +598,11 @@ void CBaseMenu::Cancel()
return;
}
if (m_pVoteHandler && m_pVoteHandler->IsVoteInProgress())
{
m_pVoteHandler->CancelVoting();
}
m_bCancelling = true;
Cancel_Finally();
m_bCancelling = false;