Don't create icons for guests (which are never shown).
This commit is contained in:
parent
eea9d6dbd8
commit
0d789c3bd2
@ -146,7 +146,7 @@ void PlayerProfile::initRemainingData()
|
|||||||
*/
|
*/
|
||||||
void PlayerProfile::addIcon()
|
void PlayerProfile::addIcon()
|
||||||
{
|
{
|
||||||
if (m_icon_filename.size() > 0)
|
if (m_icon_filename.size() > 0 || isGuestAccount())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int n = m_unique_id % kart_properties_manager->getNumberOfKarts();
|
int n = m_unique_id % kart_properties_manager->getNumberOfKarts();
|
||||||
|
Loading…
Reference in New Issue
Block a user