Move table copy function out of signs lib and into init.lua, make it global.

This commit is contained in:
Vanessa Ezekowitz
2013-10-27 22:51:56 -04:00
parent 2ffd00909a
commit b483733540
3 changed files with 21 additions and 15 deletions

View File

@ -373,7 +373,7 @@ for i in ipairs(gates_list) do
minetest.register_node("homedecor:gate_"..gate.."_closed", def)
-- this is either a terrible idea or a great one
def = table.copy(def)
def = homedecor.table_copy(def)
def.groups.not_in_creative_inventory = 1
def.selection_box.fixed = { 0.4, -0.5, -0.5, 0.5, 0.5, 0.5 }
def.tiles = {