Fixes not displaying the nick when /rank {nick} is used. (Closes #197)

This commit is contained in:
Shereef Marzouk 2013-02-01 13:21:55 +02:00
parent 56ad4f3c73
commit 0081251628

View file

@ -363,7 +363,7 @@ void CSqlScore::ShowRankThread(void *pUser)
if(g_Config.m_SvHideScore)
str_format(aBuf, sizeof(aBuf), "Your time: %d minute(s) %5.2f second(s)", (int)(Time/60), Time-((int)Time/60*60));
else
str_format(aBuf, sizeof(aBuf), "%d. %s Time: %d minute(s) %5.2f second(s), requested by (%s)", Rank, pData->m_pSqlData->m_pResults->getString("Name").c_str(), (int)(Time/60), Time-((int)Time/60*60), agoString, pData->m_aRequestingPlayer);
str_format(aBuf, sizeof(aBuf), "%d. %s Time: %d minute(s) %5.2f second(s), requested by (%s)", Rank, pData->m_pSqlData->m_pResults->getString("Name").c_str(), (int)(Time/60), Time-((int)Time/60*60), pData->m_aRequestingPlayer, agoString);
if(pData->m_pSqlData->m_pResults->getInt("stamp") != 0)
{