fix missing rules for gates

This commit is contained in:
Vanessa Dannenberg 2019-05-26 22:13:15 -04:00
parent c28df63aae
commit 0f2c4f94de
1 changed files with 2 additions and 2 deletions

View File

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