2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-14 20:06:11 +00:00

Fix cooking new world/area data without an underscore in the name

This commit is contained in:
2021-05-30 23:10:59 -07:00
parent 27f25223fb
commit 137e96c732
7 changed files with 12 additions and 12 deletions

View File

@@ -712,7 +712,7 @@ struct SpecMP1 : SpecBase {
if (ent2.m_isDir) {
hecl::ProjectPath wldDir(pakPath, ent2.m_name);
for (const auto& ent3 : wldDir.enumerateDir()) {
if (hecl::StringUtils::BeginsWith(ent3.m_name, _SYS_STR("!world_")) &&
if (hecl::StringUtils::BeginsWith(ent3.m_name, _SYS_STR("!world")) &&
hecl::StringUtils::EndsWith(ent3.m_name, _SYS_STR(".blend"))) {
hecl::ProjectPath wldPath(wldDir, ent3.m_name);
if (wldPath.isFile()) {