Fix missed underscores in cook path

This commit is contained in:
Phillip Stephens 2021-05-30 23:21:12 -07:00
parent 137e96c732
commit 20f40ef07f
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 2 additions and 2 deletions

View File

@ -400,7 +400,7 @@ bool MLVL::CookMAPW(const hecl::ProjectPath& outPath, const World& wld) {
continue; continue;
/* Area map */ /* Area map */
hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map_")); hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map"));
if (mapPath.isFile()) if (mapPath.isFile())
mapaTags.push_back(g_curSpec->buildTagFromPath(mapPath)); mapaTags.push_back(g_curSpec->buildTagFromPath(mapPath));
} }
@ -432,7 +432,7 @@ bool MLVL::CookSAVW(const hecl::ProjectPath& outPath, const World& wld) {
if (area.path.getPathType() != hecl::ProjectPath::Type::Directory) if (area.path.getPathType() != hecl::ProjectPath::Type::Directory)
continue; continue;
hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area_")); hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area"));
if (!areaPath.isFile()) if (!areaPath.isFile())
continue; continue;