diff --git a/src/modes/linear_world.cpp b/src/modes/linear_world.cpp index 986a06575..2039b62f2 100644 --- a/src/modes/linear_world.cpp +++ b/src/modes/linear_world.cpp @@ -239,7 +239,7 @@ void LinearWorld::doLapCounting ( KartInfo& kart_info, Kart* kart ) } // Race finished if(kart_info.m_race_lap >= race_manager->getNumLaps() && - race_manager->getMinorMode() != RaceManager::getWorld()->raceHasLaps()) + RaceManager::getWorld()->raceHasLaps()) { // A client wait does not detect race finished by itself, it will // receive a message from the server. So a client does not do