Explorar o código

fixed issue with embed fs

Nicolas Cannasse %!s(int64=4) %!d(string=hai) anos
pai
achega
a8ca188f5d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      hxd/fs/Convert.hx

+ 1 - 1
hxd/fs/Convert.hx

@@ -55,7 +55,7 @@ class Convert {
 		#end
 	}
 
-	static var converts = new Map<String,Array<Convert>>();
+	@:persistent static var converts = new Map<String,Array<Convert>>();
 	public static function register( c : Convert ) : Int {
 		var dest = converts.get(c.destExt);
 		if( dest == null ) {