mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Client: update the "name" convar in "cl_setname" concommand callback
Update the name everywhere in code.
This commit is contained in:
parent
e8fe12b4fd
commit
3d5ddd2bed
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user