add missing filePath argument

This commit is contained in:
Syping 2020-05-16 16:30:28 +02:00
parent 906ce569c0
commit cd2aa329b9

View file

@ -120,6 +120,9 @@ function compileScript()
if (currentSstub ~= nil) then
compileArgs[2] = "--luaengine"
compileArgs[3] = sstubDir.."/"..currentSstub
compileArgs[4] = filePath
else
compileArgs[2] = filePath
end
if (executeProcess(compilerPath, compileArgs, false) == false) then
showMessageBox(WarningMessageBox, "Error occurred while compile!", "LuaEngine Compiler")