diff --git a/apps/openmw/mwlua/luamanagerimp.cpp b/apps/openmw/mwlua/luamanagerimp.cpp index 1eb0352e3a..862deb0d3a 100644 --- a/apps/openmw/mwlua/luamanagerimp.cpp +++ b/apps/openmw/mwlua/luamanagerimp.cpp @@ -180,7 +180,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