summaryrefslogtreecommitdiff
path: root/homedecor/doors_and_gates.lua
diff options
context:
space:
mode:
Diffstat (limited to 'homedecor/doors_and_gates.lua')
-rw-r--r--homedecor/doors_and_gates.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/homedecor/doors_and_gates.lua b/homedecor/doors_and_gates.lua
index 3787e2b..1e6ae0a 100644
--- a/homedecor/doors_and_gates.lua
+++ b/homedecor/doors_and_gates.lua
@@ -392,7 +392,7 @@ for i in ipairs(gates_list) do
end,
mesecons = {
effector = {
- action_on = function(pos,node) homedecor.flip_gate(pos,node,player,gate, "closed") end
+ action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end
}
}
}
@@ -420,7 +420,7 @@ for i in ipairs(gates_list) do
return itemstack
end
def.mesecons.effector = {
- action_off = function(pos,node) homedecor.flip_gate(pos,node,player,gate, "open") end
+ action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end
}
minetest.register_node("homedecor:gate_"..gate.."_open", def)