forked from nalc/homedecor_modpack
True fix toilet sound!
This commit is contained in:
parent
c8add7a834
commit
b12a831fd7
@ -64,7 +64,7 @@ minetest.register_node("homedecor:toilet_open", {
|
|||||||
on_punch = function (pos, node, puncher)
|
on_punch = function (pos, node, puncher)
|
||||||
node.name = "homedecor:toilet"
|
node.name = "homedecor:toilet"
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
minetest.sound_play({name="homedecor_toilet_flush", pos=pos, max_hear_distance=5,})
|
minetest.sound_play("homedecor_toilet_flush",{pos=pos, max_hear_distance=5,})
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user