From 89245885110aeb8ae713ab3dd4aa8caa898a414c Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 28 Nov 2011 01:20:48 +0200 Subject: Remove creation of builtin.lua defined minetest.registered_* tables in C --- src/scriptapi.cpp | 14 -------------- 1 file changed, 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"); -- cgit v1.2.3