mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Only push the Lua error handler once
This commit is contained in:
@@ -82,9 +82,12 @@ protected:
|
||||
void objectrefGet(u16 id);
|
||||
|
||||
JMutex m_luastackmutex;
|
||||
// Stack index of Lua error handler
|
||||
int m_errorhandler;
|
||||
#ifdef SCRIPTAPI_LOCK_DEBUG
|
||||
bool m_locked;
|
||||
#endif
|
||||
|
||||
private:
|
||||
lua_State* m_luastack;
|
||||
|
||||
|
Reference in New Issue
Block a user