This commit is contained in:
Huoji's
2023-10-08 05:28:41 +08:00
parent 037969a06d
commit 876b4b28f4
8 changed files with 287 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ auto initLuaScripts() -> void {
ScriptApis::initFunciton(L);
pluginEnvs[dirName] = L;
if (dirPath.starts_with("disable_")) {
if (dirPath.find("disable_") != std::string::npos) {
continue;
}
std::string file = dirPath + "\\main.lua";