mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Fix /rank
minTime being NULL means no rank
This commit is contained in:
parent
647abbd801
commit
49bef9c453
|
@ -850,7 +850,7 @@ bool CScoreWorker::ShowRank(IDbConnection *pSqlServer, const ISqlData *pGameData
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!End)
|
if(!End && !pSqlServer->IsNull(2))
|
||||||
{
|
{
|
||||||
int Rank = pSqlServer->GetInt(1);
|
int Rank = pSqlServer->GetInt(1);
|
||||||
float Time = pSqlServer->GetFloat(2);
|
float Time = pSqlServer->GetFloat(2);
|
||||||
|
|
Loading…
Reference in a new issue