diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-28 01:20:48 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:56 +0200 |
commit | 89245885110aeb8ae713ab3dd4aa8caa898a414c (patch) | |
tree | f184e0b662d3ba5a0289546762fed61eada1de13 /src | |
parent | 6029d9e5a956b6135e23dcfb4caccb74355ef4b1 (diff) | |
download | minetest-89245885110aeb8ae713ab3dd4aa8caa898a414c.tar.gz minetest-89245885110aeb8ae713ab3dd4aa8caa898a414c.tar.bz2 minetest-89245885110aeb8ae713ab3dd4aa8caa898a414c.zip |
Remove creation of builtin.lua defined minetest.registered_* tables in C
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptapi.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index a91122543..4a162a9b9 100644 --- a/src/scriptapi.cpp +++ b/src/scriptapi.cpp @@ -1420,20 +1420,6 @@ void scriptapi_export(lua_State *L, Server *server) lua_setfield(L, -2, "registered_nodes"); lua_newtable(L); lua_setfield(L, -2, "registered_entities"); - lua_newtable(L); - lua_setfield(L, -2, "registered_globalsteps"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_placenodes"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_dignodes"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_punchnodes"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_generateds"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_newplayers"); - lua_newtable(L); - lua_setfield(L, -2, "registered_on_respawnplayers"); lua_newtable(L); lua_setfield(L, -2, "object_refs"); |