Client: update the "name" convar in "cl_setname" concommand callback

Update the name everywhere in code.
This commit is contained in:
Kawe Mazidjatari 2024-11-14 15:44:27 +01:00
parent e8fe12b4fd
commit 3d5ddd2bed

View File

@ -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)
{