fix(Core/Player): close all character tickets when delete (#1565)
This commit is contained in:
parent
1d0a8dbba0
commit
26ae2ce2d6
1 changed files with 1 additions and 1 deletions
|
|
@ -4725,7 +4725,7 @@ void Player::DeleteFromDB(uint64 playerguid, uint32 accountId, bool updateRealmC
|
|||
// close player ticket if any
|
||||
GmTicket* ticket = sTicketMgr->GetTicketByPlayer(playerguid);
|
||||
if (ticket)
|
||||
ticket->SetClosedBy(playerguid);
|
||||
sTicketMgr->CloseTicket(ticket->GetId(), playerguid);
|
||||
|
||||
// remove from group
|
||||
if (uint32 groupId = GetGroupIdFromStorage(guid))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue