projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
684e704
)
[CSM] Don't Load the package library (#6944)
author
red-001
<red-001@outlook.ie>
Mon, 22 Jan 2018 07:34:49 +0000
(07:34 +0000)
committer
Loï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
patch
|
blob
|
history
diff --git
a/src/script/cpp_api/s_base.cpp
b/src/script/cpp_api/s_base.cpp
index 1decb836db0e3c8392042a1e781e6d946ff3fcca..59107b3ff7d23cbf42dd03ee0246b8839e658921 100644
(file)
--- 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 },