mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Revert "Hidden maps"
This reverts commit e669d31d33beb20685c5fd87148a3d37a0391afd.
This commit is contained in:
parent
de22132cdf
commit
753b72f96d
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user