Explorar el Código

don't ignore directories starting with _ when building pak (related to #616)

Nicolas Cannasse hace 6 años
padre
commit
f336e15737
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hxd/fmt/pak/Build.hx

+ 1 - 1
hxd/fmt/pak/Build.hx

@@ -36,7 +36,7 @@ class Build {
 			f.content = [];
 			for( name in sys.FileSystem.readDirectory(dir) ) {
 				var fpath = path == "" ? name : path+"/"+name;
-				if( name.charCodeAt(0) == ".".code || (name.charCodeAt(0) == "_".code && sys.FileSystem.isDirectory(resPath + "/"+fpath)) )
+				if( name.charCodeAt(0) == ".".code )
 					continue;
 				var s = buildRec(fpath);
 				if( s != null ) f.content.push(s);