1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-23 08:20:21 +01:00

Merge pull request #29 from Jat15/patch-5

True fix toilet sound!
This commit is contained in:
VanessaE 2013-12-23 09:28:06 -08:00
commit 651fea2a00

View File

@ -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,
}) })