mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix /mapinfo string
This commit is contained in:
parent
9a55f52e61
commit
7c9d452c61
|
@ -573,7 +573,7 @@ void CSqlScore::MapInfoThread(void *pUser)
|
||||||
}
|
}
|
||||||
|
|
||||||
aServer[0] = toupper(aServer[0]);
|
aServer[0] = toupper(aServer[0]);
|
||||||
str_format(aBuf, sizeof(aBuf), "\"%s\" by %s on %s (%s, %d %s, %d %s%s)", aMap, aMapper, aServer, aStars, points, points == 1 ? "point" : "points", finishes, finishes == 1 ? "finish" : "finishes");
|
str_format(aBuf, sizeof(aBuf), "\"%s\" by %s on %s (%s, %d %s, %d %s%s)", aMap, aMapper, aServer, aStars, points, points == 1 ? "point" : "points", finishes, finishes == 1 ? "finish" : "finishes", pAgoString);
|
||||||
}
|
}
|
||||||
|
|
||||||
pData->m_pSqlData->GameServer()->SendChatTarget(pData->m_ClientID, aBuf);
|
pData->m_pSqlData->GameServer()->SendChatTarget(pData->m_ClientID, aBuf);
|
||||||
|
|
Loading…
Reference in a new issue