fix(Core/Characters): Correctly update char count on realm selection (#14685)
This commit is contained in:
@@ -658,6 +658,8 @@ void WorldSession::HandleCharDeleteOpcode(WorldPacket& recvData)
|
|||||||
sCalendarMgr->RemoveAllPlayerEventsAndInvites(guid);
|
sCalendarMgr->RemoveAllPlayerEventsAndInvites(guid);
|
||||||
Player::DeleteFromDB(guid.GetCounter(), GetAccountId(), true, false);
|
Player::DeleteFromDB(guid.GetCounter(), GetAccountId(), true, false);
|
||||||
|
|
||||||
|
sWorld->UpdateRealmCharCount(GetAccountId());
|
||||||
|
|
||||||
SendCharDelete(CHAR_DELETE_SUCCESS);
|
SendCharDelete(CHAR_DELETE_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user