mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
added more opsec
This commit is contained in:
@@ -1071,7 +1071,10 @@ void Replicator::updateStatsItem(RBX::Stats::StatsService* stats)
|
|||||||
if (network)
|
if (network)
|
||||||
{
|
{
|
||||||
statsItem = createStatsItem();
|
statsItem = createStatsItem();
|
||||||
statsItem->setName(RakNetAddressToString(this->remotePlayerId));
|
if (Player* player = getRemotePlayer())
|
||||||
|
statsItem->setName(player->getName());
|
||||||
|
else
|
||||||
|
statsItem->setName("ServerStatsItem");
|
||||||
statsItem->setParent2(network);
|
statsItem->setParent2(network);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user