diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index 5bdf34654..1fa3d4f0b 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -973,14 +973,14 @@ class CommandLineTools { return PathHelper.combine (path, "project.lime"); - } else if (FileSystem.exists (PathHelper.combine (path, "project.nmml"))) { - - return PathHelper.combine (path, "project.nmml"); - } else if (FileSystem.exists (PathHelper.combine (path, "project.xml"))) { return PathHelper.combine (path, "project.xml"); + } else if (FileSystem.exists (PathHelper.combine (path, "project.nmml"))) { + + return PathHelper.combine (path, "project.nmml"); + } else { var files = FileSystem.readDirectory (path);