forked from MineClone5/MineClone5
Add sounds to fence gates
This commit is contained in:
parent
0566bd29ad
commit
d636aa1e79
|
@ -122,6 +122,7 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
|
||||||
punch_gate(pos, node)
|
punch_gate(pos, node)
|
||||||
end),
|
end),
|
||||||
}},
|
}},
|
||||||
|
sounds = sounds,
|
||||||
})
|
})
|
||||||
|
|
||||||
groups.mesecon_effector_on = nil
|
groups.mesecon_effector_on = nil
|
||||||
|
@ -173,6 +174,7 @@ mcl_fences.register_fence = function(id, fence_name, fence_gate_name, texture, f
|
||||||
on_rightclick = function(pos, node, clicker)
|
on_rightclick = function(pos, node, clicker)
|
||||||
punch_gate(pos, node)
|
punch_gate(pos, node)
|
||||||
end,
|
end,
|
||||||
|
sounds = sounds,
|
||||||
})
|
})
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue