diff --git a/.luacheck_tidy b/.luacheck_tidy index 7812b4c..684bab3 100644 --- a/.luacheck_tidy +++ b/.luacheck_tidy @@ -4,7 +4,9 @@ read_globals = { "minetest", "default", "dump", "vector", "VoxelManip", "VoxelArea", - "ItemStack", "PseudoRandom", + "ItemStack", + "pipeworks", + "PseudoRandom", "stairsplus", "intllib", "Settings", math = { fields = {"sign"} } diff --git a/.luacheckrc b/.luacheckrc index de08e04..2ba39e4 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -4,6 +4,7 @@ read_globals = { "default", "dump", "ItemStack", + "pipeworks", "PseudoRandom", "stairsplus", "intllib", diff --git a/modules/network/ctrl.lua b/modules/network/ctrl.lua index 667b6f7..0e644e9 100644 --- a/modules/network/ctrl.lua +++ b/modules/network/ctrl.lua @@ -67,7 +67,6 @@ me.register_node("ctrl", { meta:set_string("owner", name) end, on_destruct = function(pos) - local net = me.get_network(pos) local net,idx = me.get_network(pos) --disconnect all those who need the network me.send_event(pos,"disconnect",{net=net})