Fix ShowRank() ranking order by

This commit is contained in:
srdante 2022-03-21 20:05:28 -03:00
parent 2edeb21d34
commit 402387095d

View file

@ -597,8 +597,8 @@ bool CScoreWorker::ShowRank(IDbConnection *pSqlServer, const ISqlData *pGameData
" FROM %s_race "
" WHERE Map = ? "
" AND Server LIKE ?"
" GROUP BY Name, Time "
" WINDOW w AS (ORDER BY Time)"
" GROUP BY Name "
" WINDOW w AS (ORDER BY MIN(Time))"
") as a "
"WHERE Name = ?",
pSqlServer->GetPrefix());