瀏覽代碼

Skip build SourceLoader content on console (#1296)

Pierre Chabiland 2 周之前
父節點
當前提交
de741aaa6c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/fs/SourceLoader.hx

+ 1 - 1
hxd/fs/SourceLoader.hx

@@ -3,7 +3,7 @@ package hxd.fs;
 class SourceLoader {
 class SourceLoader {
 
 
 	static var RELOAD_LFS : Array<hxd.fs.FileSystem> = [];
 	static var RELOAD_LFS : Array<hxd.fs.FileSystem> = [];
-	#if sys
+	#if (sys && !usesys)
 	public static function addLivePath( path : String ) {
 	public static function addLivePath( path : String ) {
 		RELOAD_LFS.push(new hxd.fs.LocalFileSystem(path,""));
 		RELOAD_LFS.push(new hxd.fs.LocalFileSystem(path,""));
 	}
 	}