1
This commit is contained in:
commit
3d9477f581
@ -766,6 +766,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