diff --git a/src/lua/Manager.cpp b/src/lua/Manager.cpp index c4968e8..6d7f162 100644 --- a/src/lua/Manager.cpp +++ b/src/lua/Manager.cpp @@ -6,7 +6,7 @@ using namespace LuaManager; static lua_State *globalState = nullptr; -void init() { +void LuaManager::init() { lua_State *L = luaL_newstate(); luaL_openlibs(L);