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:
parent
1b6ece1367
commit
cc8c1c769a
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user