small fixes

This commit is contained in:
theFox6 2020-03-16 17:09:12 +01:00
parent d1f7d633c8
commit 063c067e39
No known key found for this signature in database
GPG Key ID: C884FE8D3BCE128A
3 changed files with 4 additions and 2 deletions

@ -4,7 +4,9 @@ read_globals = {
"minetest", "default",
"dump", "vector",
"VoxelManip", "VoxelArea",
"ItemStack", "PseudoRandom",
"ItemStack",
"pipeworks",
"PseudoRandom",
"stairsplus", "intllib",
"Settings",
math = { fields = {"sign"} }

@ -4,6 +4,7 @@ read_globals = {
"default",
"dump",
"ItemStack",
"pipeworks",
"PseudoRandom",
"stairsplus",
"intllib",

@ -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})