Use the correct name for determining ranks

Was broken by the recent Steam name update.
This commit is contained in:
heinrich5991 2020-08-29 12:39:57 +02:00
parent 5f6df2b5a4
commit db52340ab1

View file

@ -4288,7 +4288,7 @@ void CClient::RequestDDNetInfo()
if(g_Config.m_BrIndicateFinished)
{
char aEscaped[128];
EscapeUrl(aEscaped, sizeof(aEscaped), g_Config.m_PlayerName);
EscapeUrl(aEscaped, sizeof(aEscaped), PlayerName());
str_append(aUrl, "?name=", sizeof(aUrl));
str_append(aUrl, aEscaped, sizeof(aUrl));
}