mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Player name when requesting another player's. closes #197.
Edited from github directly needs to be tested
This commit is contained in:
parent
7f7a46b497
commit
38aa2cac78
|
@ -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)", Rank, pData->m_pSqlData->m_pResults->getString("Name").c_str(), (int)(Time/60), Time-((int)Time/60*60), agoString);
|
||||
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);
|
||||
|
||||
if(pData->m_pSqlData->m_pResults->getInt("stamp") != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue