From 4cac9f1e1c2ae545eb6553a4d7511acd0036853d Mon Sep 17 00:00:00 2001 From: Malifox <78408070+Malifox@users.noreply.github.com> Date: Fri, 30 May 2025 03:10:51 -0400 Subject: [PATCH] Fix crash when selecting a vote item that contains a format specifier (#2323) Co-authored-by: Malifox <78408070+Maliwolf@users.noreply.github.com> --- core/MenuVoting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/MenuVoting.cpp b/core/MenuVoting.cpp index 93925c6bf..a0654f33d 100644 --- a/core/MenuVoting.cpp +++ b/core/MenuVoting.cpp @@ -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); } } }