浏览代码

Convert time check with millisecond precision (bug with softwares writing files several time in a row).

clementlandrin 11 月之前
父节点
当前提交
e5ebb689c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/fs/FileConverter.hx

+ 1 - 1
hxd/fs/FileConverter.hx

@@ -311,7 +311,7 @@ class FileConverter {
 
 		if( !sys.FileSystem.exists(fullPath) ) throw "Missing "+fullPath;
 
-		var time = std.Math.floor(getFileTime(fullPath) / 1000);
+		var time = std.Math.floor(getFileTime(fullPath));
 		var alreadyGen = sys.FileSystem.exists(fullOutPath) && match.ver == conv.version #if disable_res_cache && false #end;
 
 		if( alreadyGen && match.time == time )