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