mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Stop ServerThread immediately on errors
This commit is contained in:
parent
9dd09d1056
commit
d0d7c11fe1
2 changed files with 14 additions and 2 deletions
|
@ -344,8 +344,7 @@ public:
|
|||
void setStepSettings(StepSettings spdata) { m_step_settings.store(spdata); }
|
||||
StepSettings getStepSettings() { return m_step_settings.load(); }
|
||||
|
||||
inline void setAsyncFatalError(const std::string &error)
|
||||
{ m_async_fatal_error.set(error); }
|
||||
void setAsyncFatalError(const std::string &error);
|
||||
inline void setAsyncFatalError(const LuaError &e)
|
||||
{
|
||||
setAsyncFatalError(std::string("Lua: ") + e.what());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue