Merge branch 'fix_7039' into 'master'

Fix #7039: freeze after throwing an error in a queued Lua callback

Closes #7039

See merge request OpenMW/openmw!2469
7098-improve-post-process-behavior-with-transparent-objects
uramer 2 years ago
commit 8108fa0724

@ -171,7 +171,7 @@ namespace MWLua
// Run queued callbacks
for (CallbackWithData& c : mQueuedCallbacks)
c.mCallback.call(c.mArg);
c.mCallback.tryCall(c.mArg);
mQueuedCallbacks.clear();
// Engine handlers in local scripts

Loading…
Cancel
Save