Release 1.4.86

- Fixed tree import
- Fixed parsing of Voll's/Malachai's Vision stats
This commit is contained in:
Openarl
2018-05-08 16:18:16 +10:00
parent d9484f4232
commit 470c723304
10 changed files with 39 additions and 18 deletions

View File

@@ -118,7 +118,7 @@ function LoadModule(fileName, ...)
if func then
return func(...)
else
error("LoadModule() error loading '"..fileName.."': %s", err)
error("LoadModule() error loading '"..fileName.."': "..err)
end
end
function PLoadModule(fileName, ...)
@@ -129,7 +129,7 @@ function PLoadModule(fileName, ...)
if func then
return PCall(func, ...)
else
error("PLoadModule() error loading '"..fileName.."': %s", err)
error("PLoadModule() error loading '"..fileName.."': "..err)
end
end
function PCall(func, ...)
@@ -169,6 +169,13 @@ dofile("Launch.lua")
runCallback("OnInit")
runCallback("OnFrame") -- Need at least one frame for everything to initialise
if mainObject.promptMsg then
-- Something went wrong during startup
print(mainObject.promptMsg)
io.read("*l")
return
end
-- The build module; once a build is loaded, you can find all the good stuff in here
local build = mainObject.main.modes["BUILD"]