Fix 'several players were found' on /rank

This commit is contained in:
fokkonaut 2019-07-14 11:31:58 +02:00
parent d35550ce19
commit fabdc73087

View file

@ -266,7 +266,7 @@ void CFileScore::ShowTop5(IConsole::IResult *pResult, int ClientID,
void CFileScore::ShowRank(int ClientID, const char* pName, bool Search) void CFileScore::ShowRank(int ClientID, const char* pName, bool Search)
{ {
CPlayerScore *pScore; CPlayerScore *pScore;
int Pos = -1; int Pos = -2;
char aBuf[512]; char aBuf[512];
if (!Search) if (!Search)