Fix missing handicapped player names in soccer screen result

This commit is contained in:
Benau 2019-11-21 01:36:45 +08:00
parent 4b817e6e90
commit 65bb31b56f

View File

@ -406,7 +406,13 @@ core::stringw PlayerController::getName() const
m_kart->getWorldKartId());
name = rki.getPlayerName();
if (rki.getHandicap() == HANDICAP_MEDIUM)
{
#ifdef SERVER_ONLY
name += L" (handicapped)";
#else
name = _("%s (handicapped)", name);
#endif
}
}
return name;
} // getName