lua::LuaState::createRunnable() fix

This commit is contained in:
MihailRis
2024-05-07 21:43:15 +03:00
parent f2cdd3c4b6
commit d1c61153c9
+1 -1
View File
@@ -395,7 +395,7 @@ runnable lua::LuaState::createRunnable() {
return [=]() { return [=]() {
lua_getglobal(L, LAMBDAS_TABLE.c_str()); lua_getglobal(L, LAMBDAS_TABLE.c_str());
lua_getfield(L, -1, funcptr->c_str()); lua_getfield(L, -1, funcptr->c_str());
lua_call(L, 0, LUA_MULTRET); callNoThrow(0);
}; };
} }