summaryrefslogtreecommitdiff
path: root/src/script/clientscripting.cpp
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-04-04 06:41:37 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-04-04 07:41:37 +0200
commit000ec260017256016b62bb9936bbda1ff969e252 (patch)
tree9eebd6b3f1be915fe1195e241a8a754f1bb44259 /src/script/clientscripting.cpp
parent859141a0ce38fbd606d95ae7a2f0999acf2fbe84 (diff)
downloadminetest-000ec260017256016b62bb9936bbda1ff969e252.tar.gz
minetest-000ec260017256016b62bb9936bbda1ff969e252.tar.bz2
minetest-000ec260017256016b62bb9936bbda1ff969e252.zip
[CSM] Add local node meta reference. (#5508)
Diffstat (limited to 'src/script/clientscripting.cpp')
-rw-r--r--src/script/clientscripting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/clientscripting.cpp b/src/script/clientscripting.cpp
index df30a7253..17c53985d 100644
--- a/src/script/clientscripting.cpp
+++ b/src/script/clientscripting.cpp
@@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_sound.h"
#include "lua_api/l_util.h"
#include "lua_api/l_item.h"
+#include "lua_api/l_nodemeta.h"
ClientScripting::ClientScripting(Client *client):
ScriptApiBase()
@@ -68,4 +69,5 @@ void ClientScripting::InitializeModApi(lua_State *L, int top)
LuaItemStack::Register(L);
StorageRef::Register(L);
LuaMinimap::Register(L);
+ NodeMetaRef::RegisterClient(L);
}