From cc8c1c769ae369742ff7646ecdc52ba1ac7fc839 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Wed, 5 Apr 2023 14:36:43 +0300 Subject: [PATCH] Fix duplicated maps in scenario selection screen --- client/lobby/SelectionTab.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/lobby/SelectionTab.cpp b/client/lobby/SelectionTab.cpp index 1a62463ff..9e59a1260 100644 --- a/client/lobby/SelectionTab.cpp +++ b/client/lobby/SelectionTab.cpp @@ -541,8 +541,6 @@ void SelectionTab::parseMaps(const std::unordered_set & files) if(mapInfo->mapHeader->version == EMapFormat::VCMI || mapInfo->mapHeader->version <= maxSupported) allItems.push_back(mapInfo); - - allItems.push_back(mapInfo); } catch(std::exception & e) {