void CMissionManager::RefreshMetaDataForNewFoundMods() { // greebo: If we have new found mods, refresh the meta data of the corresponding MissionDB entries // otherwise we end up with empty display names after downloading a mod we had on the HDD before for (int i = 0; i < _newFoundMods.Num(); ++i) { CModInfoPtr info = GetModInfo(_newFoundMods[i]); if (info != NULL) { if (info->LoadMetaData()) { DM_LOG(LC_MAINMENU, LT_INFO)LOGSTRING("Successfully read meta data for newly found mod %s\r", _newFoundMods[i].c_str()); } else { DM_LOG(LC_MAINMENU, LT_DEBUG)LOGSTRING("Could not read meta data for newly found mod %s\r", _newFoundMods[i].c_str()); } } } }