forked from mtcontrib/homedecor_modpack
fix missing rules for gates
This commit is contained in:
parent
c28df63aae
commit
0f2c4f94de
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user