mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 14:25:38 +03:00
parent
70d1aff519
commit
8db3853fb7
@ -1021,7 +1021,7 @@ void C_ClientUserInfoChanged_Post(edict_t *pEntity, char *infobuffer)
|
|||||||
if (pPlayer->ingame)
|
if (pPlayer->ingame)
|
||||||
{
|
{
|
||||||
pPlayer->name =name; // Make sure player have name up to date
|
pPlayer->name =name; // Make sure player have name up to date
|
||||||
} else if (pEntity && pEntity->pvPrivateData && pPlayer->IsBot()) {
|
} else if (pPlayer->IsBot()) {
|
||||||
pPlayer->Connect(name, "127.0.0.1"/*CVAR_GET_STRING("net_address")*/);
|
pPlayer->Connect(name, "127.0.0.1"/*CVAR_GET_STRING("net_address")*/);
|
||||||
|
|
||||||
executeForwards(FF_ClientConnect, static_cast<cell>(pPlayer->index));
|
executeForwards(FF_ClientConnect, static_cast<cell>(pPlayer->index));
|
||||||
|
Loading…
Reference in New Issue
Block a user