mirror of
https://gitlab.com/Syping/luaengineapp.git
synced 2024-12-22 20:05:30 +01:00
add missing filePath argument
This commit is contained in:
parent
906ce569c0
commit
cd2aa329b9
1 changed files with 3 additions and 0 deletions
|
@ -120,6 +120,9 @@ function compileScript()
|
||||||
if (currentSstub ~= nil) then
|
if (currentSstub ~= nil) then
|
||||||
compileArgs[2] = "--luaengine"
|
compileArgs[2] = "--luaengine"
|
||||||
compileArgs[3] = sstubDir.."/"..currentSstub
|
compileArgs[3] = sstubDir.."/"..currentSstub
|
||||||
|
compileArgs[4] = filePath
|
||||||
|
else
|
||||||
|
compileArgs[2] = filePath
|
||||||
end
|
end
|
||||||
if (executeProcess(compilerPath, compileArgs, false) == false) then
|
if (executeProcess(compilerPath, compileArgs, false) == false) then
|
||||||
showMessageBox(WarningMessageBox, "Error occurred while compile!", "LuaEngine Compiler")
|
showMessageBox(WarningMessageBox, "Error occurred while compile!", "LuaEngine Compiler")
|
||||||
|
|
Loading…
Reference in a new issue