mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Player name when requesting another player's
Edited from github directly needs to be tested
This commit is contained in:
parent
3ececbd5f7
commit
7f7a46b497
|
@ -260,9 +260,9 @@ void CFileScore::ShowRank(int ClientID, const char* pName, bool Search)
|
|||
Time - ((int) Time / 60 * 60));
|
||||
else
|
||||
str_format(aBuf, sizeof(aBuf),
|
||||
"%d. %s Time: %d minute(s) %5.2f second(s)", Pos,
|
||||
"%d. %s Time: %d minute(s) %5.2f second(s), requested by (%s)", Pos,
|
||||
pScore->m_aName, (int) Time / 60,
|
||||
Time - ((int) Time / 60 * 60));
|
||||
Time - ((int) Time / 60 * 60), aClientName);
|
||||
if (!Search)
|
||||
GameServer()->SendChat(-1, CGameContext::CHAT_ALL, aBuf, ClientID);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue