mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
Make guid lookup for adding ignore async.
This commit is contained in:
parent
c6eadf5565
commit
e9fc699d86
6 changed files with 33 additions and 34 deletions
|
|
@ -373,7 +373,7 @@ void WorldSession::LogoutPlayer(bool Save)
|
|||
_player->GetGroup()->SendUpdate();
|
||||
|
||||
///- Broadcast a logout message to the player's friends
|
||||
sSocialMgr.SendFriendStatus(_player, FRIEND_OFFLINE, _player->GetGUIDLow(), "", true);
|
||||
sSocialMgr.SendFriendStatus(_player, FRIEND_OFFLINE, _player->GetGUIDLow(), true);
|
||||
|
||||
///- Delete the player object
|
||||
_player->CleanupsBeforeDelete(); // do some cleanup before deleting to prevent crash at crossreferences to already deleted data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue