1
This commit is contained in:
parent
1f4ff08d57
commit
cb6dad8969
@ -859,6 +859,10 @@ void Player::SyncOtherFriend()
|
||||
for (auto& pair : friend_hash_) {
|
||||
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(pair.second->base_data.account_id);
|
||||
if (hum) {
|
||||
Friend* friend_data = hum->GetFriendById(AccountId());
|
||||
if (friend_data) {
|
||||
*friend_data = myself;
|
||||
}
|
||||
hum->SendMsg(msg);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user