Fix #3856
This commit is contained in:
parent
b4a3214c46
commit
e60cf7fcc3
@ -309,7 +309,7 @@ void TrackInfoScreen::init()
|
|||||||
|
|
||||||
// Record race or not
|
// Record race or not
|
||||||
// -------------
|
// -------------
|
||||||
const bool record_available = race_manager->getMinorMode() == RaceManager::MINOR_MODE_TIME_TRIAL;
|
const bool record_available = (race_manager->isTimeTrialMode() || race_manager->isEggHuntMode());
|
||||||
m_record_race->setVisible(record_available);
|
m_record_race->setVisible(record_available);
|
||||||
getWidget<LabelWidget>("record-race-text")->setVisible(record_available);
|
getWidget<LabelWidget>("record-race-text")->setVisible(record_available);
|
||||||
if (race_manager->isRecordingRace())
|
if (race_manager->isRecordingRace())
|
||||||
|
Loading…
Reference in New Issue
Block a user