[CSM] Don't Load the package library (#6944)
authorred-001 <red-001@outlook.ie>
Mon, 22 Jan 2018 07:34:49 +0000 (07:34 +0000)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Mon, 22 Jan 2018 07:34:49 +0000 (08:34 +0100)
Already removed by a latter step in CSM init so this just saves on pointless work.

src/script/cpp_api/s_base.cpp

index 1decb836db0e3c8392042a1e781e6d946ff3fcca..59107b3ff7d23cbf42dd03ee0246b8839e658921 100644 (file)
@@ -139,7 +139,6 @@ void ScriptApiBase::clientOpenLibs(lua_State *L)
 {
        static const std::vector<std::pair<std::string, lua_CFunction>> m_libs = {
                { "", luaopen_base },
-               { LUA_LOADLIBNAME, luaopen_package },
                { LUA_TABLIBNAME,  luaopen_table   },
                { LUA_OSLIBNAME,   luaopen_os      },
                { LUA_STRLIBNAME,  luaopen_string  },