Fixed an issue with WR menu record count.

The menu would show the amount of records for the current map rather than grab it from the map itself.
This commit is contained in:
shavit 2018-01-13 09:35:21 +02:00
parent 27e0dad8ad
commit a61cfadfd2

View File

@ -1449,7 +1449,7 @@ public void SQL_WR_Callback(Database db, DBResultSet results, const char[] error
else else
{ {
FormatEx(sRanks, 32, "(#%d/%d)", iMyRank, gI_RecordAmount[gBS_LastWR[client]]); FormatEx(sRanks, 32, "(#%d/%d)", iMyRank, iRecords);
} }
char[] sTrack = new char[32]; char[] sTrack = new char[32];