Save number of ai karts per game mode when leaving track screen

This commit is contained in:
Benau 2019-11-08 15:01:38 +08:00
parent 6a466293ac
commit bbbfe43120

View File

@ -451,6 +451,8 @@ TrackInfoScreen::~TrackInfoScreen()
// ----------------------------------------------------------------------------
void TrackInfoScreen::tearDown()
{
// This will save number of ai karts per game mode
user_config->saveConfig();
m_highscore_entries->setIcons(NULL);
}