Fixed client console vote progress not displaying in some cases (bug 5290, r=psychonic).
This commit is contained in:
parent
2ba12008c8
commit
7025e07e8a
@ -518,7 +518,7 @@ void VoteMenuHandler::OnMenuSelect(IBaseMenu *menu, int client, unsigned int ite
|
|||||||
m_Votes[item]++;
|
m_Votes[item]++;
|
||||||
m_NumVotes++;
|
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];
|
static char buffer[1024];
|
||||||
ItemDrawInfo dr;
|
ItemDrawInfo dr;
|
||||||
|
Loading…
Reference in New Issue
Block a user