Skip to content

Commit b36d0cf

Browse files
committed
Fix missing VoteSet description
1 parent f6ed731 commit b36d0cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/game/client/components/voting.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ void CVoting::OnMessage(int MsgType, void *pRawMsg)
225225
if(pMsg->m_ClientID == m_pClient->m_LocalClientID)
226226
m_CallvoteBlockTick = Client()->GameTick() + Client()->GameTickSpeed() * VOTE_COOLDOWN;
227227
}
228+
else
229+
{
230+
str_copy(m_aDescription, pMsg->m_pDescription, sizeof(m_aDescription));
231+
}
228232
}
229233
else
230234
{

0 commit comments

Comments
 (0)