2
0
clandrin 3 жил өмнө
parent
commit
333c737fa8

+ 1 - 1
h3d/mat/MaterialDatabase.hx

@@ -25,7 +25,7 @@ class MaterialDatabase {
 
 	function saveData( model : hxd.res.Resource, data : Dynamic ) {
 		var file = getFilePath(model);
-		#if (sys || nodejs)
+		#if ((sys || nodejs) && !usesys)
 		var fs = hxd.impl.Api.downcast(hxd.res.Loader.currentInstance.fs, hxd.fs.LocalFileSystem);
 		if( fs != null && !haxe.io.Path.isAbsolute(file) )
 			file = fs.baseDir + file;