Realmlist returns 0 instead of 1 characters after you deleted all characters (#724)

This commit is contained in:
Kaev
2017-12-04 22:08:26 +01:00
committed by Yehonal
parent 069bdf280f
commit 7a6c6315b8
2 changed files with 2 additions and 1 deletions

View File

@@ -2773,6 +2773,7 @@ void World::UpdateRealmCharCount(uint32 accountId)
{
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_SEL_CHARACTER_COUNT);
stmt->setUInt32(0, accountId);
stmt->setUInt32(1, accountId);
PreparedQueryResultFuture result = CharacterDatabase.AsyncQuery(stmt);
m_realmCharCallbacks.insert(result);
}