This commit is contained in:
Huoji's
2023-10-03 04:07:50 +08:00
parent f08e0b90fa
commit 8f3005e9b2
50 changed files with 11966 additions and 107 deletions

View File

@@ -42,9 +42,10 @@ auto initLuaScripts() -> void {
std::string dirName = dirNames[i];
lua_State* L = luaL_newstate();
ScriptApis::initFunciton(L);
luaL_openlibs(L);
ScriptApis::initFunciton(L);
pluginEnvs[dirName] = L;
std::string file = dirPath + "\\main.lua";