Fixed client console vote progress not displaying in some cases (bug 5290, r=psychonic).

This commit is contained in:
FlaminSarge 2012-05-26 16:25:05 -04:00
parent 2ba12008c8
commit 7025e07e8a

View File

@ -518,7 +518,7 @@ void VoteMenuHandler::OnMenuSelect(IBaseMenu *menu, int client, unsigned int ite
m_Votes[item]++;
m_NumVotes++;
if (sm_vote_chat.GetBool() || sm_vote_console.GetBool())
if (sm_vote_chat.GetBool() || sm_vote_console.GetBool() || sm_vote_client_console.GetBool())
{
static char buffer[1024];
ItemDrawInfo dr;