From: Perttu Ahola Date: Sun, 27 Nov 2011 23:20:48 +0000 (+0200) Subject: Remove creation of builtin.lua defined minetest.registered_* tables in C X-Git-Tag: 0.4.dev-20111201-0~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=89245885110aeb8ae713ab3dd4aa8caa898a414c;p=oweals%2Fminetest.git Remove creation of builtin.lua defined minetest.registered_* tables in C --- 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");