[Server] Fix build on Windows

new-script-api
David Cernat 7 years ago
parent 948090676a
commit 5653d07c7b

@ -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<sol::string_view>(L, -1);
if (maybetraceback)
{

Loading…
Cancel
Save