Skip to content

Commit

Permalink
Fix /rank
Browse files Browse the repository at this point in the history
minTime being NULL means no rank
  • Loading branch information
def- committed Aug 8, 2024
1 parent 647abbd commit 49bef9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/scoreworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 49bef9c

Please sign in to comment.