forked from minetest-mods/mesecons
Pressure plates and the object detector will send power to vertical
wires 2 nodes below them, allows to hide circuitry powered by them. Fixes #179 Rewrite pressure plates + vertical wires using mesecon.register_node.
This commit is contained in:
@ -199,6 +199,9 @@ mesecon.mergetable = function(source, dest)
|
||||
for k, v in pairs(source) do
|
||||
dest[k] = dest[k] or v
|
||||
end
|
||||
for i, v in ipairs(source) do
|
||||
dest[i] = dest[i] or v
|
||||
end
|
||||
end
|
||||
|
||||
mesecon.register_node = function(name, spec_common, spec_off, spec_on)
|
||||
|
Reference in New Issue
Block a user