mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
case sensitivity
This commit is contained in:
parent
272e14357c
commit
31bbbaf512
|
@ -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, "-------------------------------");
|
||||
|
|
Loading…
Reference in a new issue