2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Fix missed underscores in cook path

This commit is contained in:
2021-05-30 23:21:12 -07:00
parent 137e96c732
commit 20f40ef07f

View File

@@ -400,7 +400,7 @@ bool MLVL::CookMAPW(const hecl::ProjectPath& outPath, const World& wld) {
continue;
/* Area map */
hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map_"));
hecl::ProjectPath mapPath = GetPathBeginsWith(area.path, _SYS_STR("!map"));
if (mapPath.isFile())
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)
continue;
hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area_"));
hecl::ProjectPath areaPath = GetPathBeginsWith(area.path, _SYS_STR("!area"));
if (!areaPath.isFile())
continue;