diff --git a/zone/lua_parser.cpp b/zone/lua_parser.cpp index 4f88eb88a..95e98f6a6 100644 --- a/zone/lua_parser.cpp +++ b/zone/lua_parser.cpp @@ -852,7 +852,7 @@ void LuaParser::ReloadQuests() { lua_getglobal(L, "package"); lua_getfield(L, -1, "path"); std::string module_path = lua_tostring(L,-1); - module_path += ";./" + Config->LuaModuleDir + "/?.lua"; + module_path += ";./" + Config->LuaModuleDir + "?.lua;./" + Config->LuaModuleDir + "?/init.lua"; lua_pop(L, 1); lua_pushstring(L, module_path.c_str()); lua_setfield(L, -2, "path");