Skip to content

Commit e22532d

Browse files
committed
增加地图所在文件夹的引用路径
1 parent 2924fe6 commit e22532d

File tree

1 file changed

+1
-0
lines changed
  • Development/Editor/Core/Script/Lua/compile

1 file changed

+1
-0
lines changed

Development/Editor/Core/Script/Lua/compile/wave.lua

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function wave:do_compile(op)
2222
cmd = cmd .. '--autooutput '
2323
cmd = cmd .. string.format('--sysinclude="%s" ', self.sys_include_path:string())
2424
cmd = cmd .. string.format('--sysinclude="%s" ', self.plugin_include_path:string())
25+
cmd = cmd .. string.format('--include="%s" ', op.map_path:parent_path():string())
2526
cmd = cmd .. string.format('--include="%s" ', self.jass_include_path:string())
2627
cmd = cmd .. string.format('--define=WARCRAFT_VERSION=%d ', 100 * op.option.runtime_version.major + op.option.runtime_version.minor)
2728
cmd = cmd .. string.format('--define=YDWE_VERSION_STRING=\\"%s\\" ', tostring(ydwe_version))

0 commit comments

Comments
 (0)