fix missing rules for gates

This commit is contained in:
Vanessa Dannenberg 2019-05-26 22:13:15 -04:00
parent c28df63aae
commit 0f2c4f94de

View File

@ -275,7 +275,7 @@ for i, g in ipairs(gate_list) do
end,
mesecons = {
effector = {
rules = m_rules,
rules = mesecon.rules.pplate,
action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end
}
}
@ -304,7 +304,7 @@ for i, g in ipairs(gate_list) do
return itemstack
end
def.mesecons.effector = {
rules = m_rules,
rules = mesecon.rules.pplate,
action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end
}