Răsfoiți Sursa

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

clementlandrin 11 luni în urmă
părinte
comite
e5ebb689c5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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 )