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:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user