Remove unneeded ranking display in FFA

This commit is contained in:
Benau 2021-08-16 10:20:36 +08:00
parent bbbd14ccf7
commit 6d29bb21ba

View File

@ -1341,7 +1341,7 @@ void RaceResultGUI::unload()
: video::SColor(255, 255, 255, 255);
unsigned int current_x = x;
if (RaceManager::get()->getNumberOfKarts() >= 10)
if (!ri->m_finish_time_string.empty() && RaceManager::get()->getNumberOfKarts() >= 10)
{
int pos_rank_width = m_font->getDimension(core::stringw(n + 1).c_str()).Width;
core::recti pos_rank(current_x, y, pos_rank_width, m_distance_between_rows);