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-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=89245885110aeb8ae713ab3dd4aa8caa898a414c;p=zefram%2Fminetest%2Fminetest_engine.git Remove creation of builtin.lua defined minetest.registered_* tables in C --- diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp index a9112254..4a162a9b 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");