1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix duplicated maps in scenario selection screen

This commit is contained in:
Ivan Savenko 2023-04-05 14:36:43 +03:00
parent 1b6ece1367
commit cc8c1c769a

View File

@ -541,8 +541,6 @@ void SelectionTab::parseMaps(const std::unordered_set<ResourceID> & files)
if(mapInfo->mapHeader->version == EMapFormat::VCMI || mapInfo->mapHeader->version <= maxSupported)
allItems.push_back(mapInfo);
allItems.push_back(mapInfo);
}
catch(std::exception & e)
{