Improve handling of fatal errors and errors in dfhack.lua
* Several fatal errors that occurred during core initialization didn't stop initialization or set 'errorstate' properly, which caused update hooks and other code to crash later. This has been fixed and should address crashes like the one mentioned in #470. * Errors when loading dfhack.lua now cause Lua::Open() to fail, which triggers a fatal error in Core::Init() * Failure to initialize the console no longer results in a call to fatal() (since it didn't actually stop initialization previously)develop
parent
9ebaa4d695
commit
c44ac8ec6e
Loading…
Reference in New Issue