aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2018-01-22 07:34:49 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2018-01-22 08:34:49 +0100
commitd6050bee5187d0d456e9d95406fc74ba163ea3aa (patch)
treebff1d19ea32b17a319319cb77e4415ffc21bddb2 /src/script/cpp_api
parent684e70477d4ed20a372be40bc4b648794befd5f4 (diff)
downloadminetest-d6050bee5187d0d456e9d95406fc74ba163ea3aa.tar.gz
minetest-d6050bee5187d0d456e9d95406fc74ba163ea3aa.tar.bz2
minetest-d6050bee5187d0d456e9d95406fc74ba163ea3aa.zip
[CSM] Don't Load the package library (#6944)
Already removed by a latter step in CSM init so this just saves on pointless work.
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r--src/script/cpp_api/s_base.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_base.cpp b/src/script/cpp_api/s_base.cpp
index 1decb836d..59107b3ff 100644
--- a/src/script/cpp_api/s_base.cpp
+++ b/src/script/cpp_api/s_base.cpp
@@ -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 },