mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38: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;
|
||||
}
|
||||
|
||||
if(!End)
|
||||
if(!End && !pSqlServer->IsNull(2))
|
||||
{
|
||||
int Rank = pSqlServer->GetInt(1);
|
||||
float Time = pSqlServer->GetFloat(2);
|
||||
|
|
Loading…
Reference in a new issue