Browse Source

fixed issue with embed fs

Nicolas Cannasse 4 years ago
parent
commit
a8ca188f5d
1 changed files with 1 additions and 1 deletions
  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 ) {