diff --git a/src/game/server/score/sql_score.cpp b/src/game/server/score/sql_score.cpp index 3f03c96d0..70b2a67dd 100644 --- a/src/game/server/score/sql_score.cpp +++ b/src/game/server/score/sql_score.cpp @@ -1174,7 +1174,7 @@ bool CSqlScore::ShowPointsThread(CSqlServer* pSqlServer, const CSqlData *pGameDa { pSqlServer->GetResults()->next(); int count = (int)pSqlServer->GetResults()->getInt("Points"); - int rank = (int)pSqlServer->GetResults()->getInt("rank"); + int rank = (int)pSqlServer->GetResults()->getInt("Rank"); str_format(aBuf, sizeof(aBuf), "%d. %s Points: %d, requested by %s", rank, pSqlServer->GetResults()->getString("Name").c_str(), count, pData->m_aRequestingPlayer); pData->GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf, pData->m_ClientID); } @@ -1227,7 +1227,7 @@ bool CSqlScore::ShowTopPointsThread(CSqlServer* pSqlServer, const CSqlData *pGam while(pSqlServer->GetResults()->next()) { - str_format(aBuf, sizeof(aBuf), "%d. %s Points: %d", pSqlServer->GetResults()->getInt("rank"), pSqlServer->GetResults()->getString("Name").c_str(), pSqlServer->GetResults()->getInt("Points")); + str_format(aBuf, sizeof(aBuf), "%d. %s Points: %d", pSqlServer->GetResults()->getInt("Rank"), pSqlServer->GetResults()->getString("Name").c_str(), pSqlServer->GetResults()->getInt("Points")); pData->GameServer()->SendChatTarget(pData->m_ClientID, aBuf); } pData->GameServer()->SendChatTarget(pData->m_ClientID, "-------------------------------");