define LuaManager::init

This commit is contained in:
CPunch 2023-12-30 01:00:27 -06:00
parent 450cc78c9a
commit c5de584762

View File

@ -6,7 +6,7 @@ using namespace LuaManager;
static lua_State *globalState = nullptr; static lua_State *globalState = nullptr;
void init() { void LuaManager::init() {
lua_State *L = luaL_newstate(); lua_State *L = luaL_newstate();
luaL_openlibs(L); luaL_openlibs(L);