From c5de58476216a8e1df08f8d9c49f225755b61647 Mon Sep 17 00:00:00 2001 From: CPunch Date: Sat, 30 Dec 2023 01:00:27 -0600 Subject: [PATCH] define LuaManager::init --- src/lua/Manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);