mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixing sql score by @Laxa
This commit is contained in:
parent
fbdae20eb2
commit
a2cec1b990
|
@ -350,6 +350,7 @@ void CSqlScore::ShowRankThread(void *pUser)
|
|||
pData->m_pSqlData->m_pResults->next();
|
||||
int since = (int)pData->m_pSqlData->m_pResults->getInt("Ago");
|
||||
char agoString[40];
|
||||
mem_zero(agoString, sizeof(agoString));
|
||||
agoTimeToString(since,agoString);
|
||||
|
||||
float Time = (float)pData->m_pSqlData->m_pResults->getDouble("Time");
|
||||
|
|
Loading…
Reference in a new issue