use name dvar for persona name
iw6x/s1x doesn't do this, maybe we missed something else?
This commit is contained in:
parent
ac17a5ff1d
commit
a5518503d3
@ -1,11 +1,13 @@
|
||||
#include <std_include.hpp>
|
||||
#include "../steam.hpp"
|
||||
|
||||
#include <game/game.hpp>
|
||||
|
||||
namespace steam
|
||||
{
|
||||
const char* friends::GetPersonaName()
|
||||
{
|
||||
return "1337";
|
||||
return game::Dvar_FindVar("name")->current.string;
|
||||
}
|
||||
|
||||
unsigned long long friends::SetPersonaName(const char* pchPersonaName)
|
||||
|
Loading…
Reference in New Issue
Block a user