浏览代码

Revert "Hidden maps"

This reverts commit e669d31d33beb20685c5fd87148a3d37a0391afd.
nordsoft 2 年之前
父节点
当前提交
753b72f96d
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      client/lobby/SelectionTab.cpp

+ 0 - 7
client/lobby/SelectionTab.cpp

@@ -534,13 +534,6 @@ void SelectionTab::parseMaps(const std::unordered_set<ResourceID> & files)
 	{
 		try
 		{
-			const std::string filename_prefix = file.getName().substr(file.getName().find_last_of("/\\") + 1, 2);
-			if(filename_prefix == "__")
-			{
-				logGlobal->trace("Map %s marked as hidden");
-				continue;
-			}
-			
 			auto mapInfo = std::make_shared<CMapInfo>();
 			mapInfo->mapInit(file.getName());