2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:04:56 +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

@@ -21,7 +21,7 @@ class ToolPackage final : public ToolBase {
void CheckFile(const hecl::ProjectPath& path) {
auto lastComp = path.getLastComponent();
if (hecl::StringUtils::BeginsWith(lastComp, _SYS_STR("!world_")) &&
if (hecl::StringUtils::BeginsWith(lastComp, _SYS_STR("!world")) &&
hecl::StringUtils::EndsWith(lastComp, _SYS_STR(".blend")))
AddSelectedItem(path);
}