ncannasse 11 年之前
父节点
当前提交
7c8dcc78c0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      hxd/fmt/hmd/MakeAll.hx

+ 2 - 0
hxd/fmt/hmd/MakeAll.hx

@@ -18,6 +18,8 @@ class MakeAll {
 			var xtraPath = path.substr(0, -3) + "xtra";
 			if( !sys.FileSystem.exists(xtraPath) )
 				xtraPath = null;
+			else
+				target = target.substr(0, -7) + "xtra.hmd";
 			if( sys.FileSystem.exists(target) && sys.FileSystem.stat(target).mtime.getTime() >= sys.FileSystem.stat(path).mtime.getTime() && (xtraPath == null || sys.FileSystem.stat(target).mtime.getTime() >= sys.FileSystem.stat(xtraPath).mtime.getTime()) )
 				continue;
 			Sys.println(relPath);