diff --git a/src/challenges/challenge_data.cpp b/src/challenges/challenge_data.cpp index 7415ad7b6..96f42699c 100644 --- a/src/challenges/challenge_data.cpp +++ b/src/challenges/challenge_data.cpp @@ -438,6 +438,13 @@ bool ChallengeData::isChallengeFulfilled() const } // too slow if (m_time[d] > 0.0f && kart->getFinishTime() > m_time[d]) return false; + + if (m_ai_superpower[d] != RaceManager::SUPERPOWER_NONE && + race_manager->getAISuperPower() != m_ai_superpower[d]) + { + return false; + } + return true; } // isChallengeFulfilled