mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-12-22 11:20:05 +00:00
define LuaManager::init
This commit is contained in:
parent
450cc78c9a
commit
c5de584762
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user