mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Push error handler afresh each time lua_pcall is used
Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
This commit is contained in:
@@ -95,9 +95,8 @@ public:
|
||||
* Engine step to process finished jobs
|
||||
* the engine step is one way to pass events back, PushFinishedJobs another
|
||||
* @param L The Lua stack
|
||||
* @param errorhandler Stack index of the Lua error handler
|
||||
*/
|
||||
void step(lua_State *L, int errorhandler);
|
||||
void step(lua_State *L);
|
||||
|
||||
/**
|
||||
* Push a list of finished jobs onto the stack
|
||||
|
Reference in New Issue
Block a user