Fix /mapinfo string

This commit is contained in:
def 2015-06-24 19:15:03 +02:00
parent 9a55f52e61
commit 7c9d452c61

View file

@ -573,7 +573,7 @@ void CSqlScore::MapInfoThread(void *pUser)
}
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);