diff --git a/apps/openmw-mp/Script/LuaState.cpp b/apps/openmw-mp/Script/LuaState.cpp index c49aeb2dc..f2d3e394e 100644 --- a/apps/openmw-mp/Script/LuaState.cpp +++ b/apps/openmw-mp/Script/LuaState.cpp @@ -42,7 +42,7 @@ inline int errHandler(lua_State *L) const sol::string_view &topmsg = maybetopmsg.value(); msg.assign(topmsg.data(), topmsg.size()); } - luaL_tramceback(L, L, msg.c_str(), 1); + luaL_traceback(L, L, msg.c_str(), 1); auto maybetraceback = sol::stack::check_get(L, -1); if (maybetraceback) {