From 3d5ddd2bed648c46b419fa8613118b760275ef5f Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:44:27 +0100 Subject: [PATCH] Client: update the "name" convar in "cl_setname" concommand callback Update the name everywhere in code. --- src/engine/client/clientstate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/engine/client/clientstate.cpp b/src/engine/client/clientstate.cpp index 7a4a5a9d..dacb028e 100644 --- a/src/engine/client/clientstate.cpp +++ b/src/engine/client/clientstate.cpp @@ -48,6 +48,7 @@ static void SetName_f(const CCommand& args) // Update nucleus name. strncpy(g_PersonaName, pszName, nLen+1); + name_cvar->SetValue(pszName); } static void Reconnect_f(const CCommand& args) {