Fix crash when selecting a vote item that contains a format specifier

This commit is contained in:
Malifox 2025-05-29 18:43:49 -04:00
parent 7e784d5453
commit d0947e0fde

View File

@ -561,7 +561,7 @@ void VoteMenuHandler::OnMenuSelect(IBaseMenu *menu, int client, unsigned int ite
if (sm_vote_client_console.GetBool())
{
ClientConsolePrint(pPlayer->GetEdict(), buffer);
ClientConsolePrint(pPlayer->GetEdict(), "%s", buffer);
}
}
}