From 501b942542c7ad89f1952d78addd104e8350bb93 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 18 Jun 2014 06:10:26 -0400 Subject: [PATCH] try to fix toilet sound positioning --- homedecor/furniture_bathroom.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/homedecor/furniture_bathroom.lua b/homedecor/furniture_bathroom.lua index 97447bdf..7cf1e5d3 100644 --- a/homedecor/furniture_bathroom.lua +++ b/homedecor/furniture_bathroom.lua @@ -64,7 +64,11 @@ minetest.register_node("homedecor:toilet_open", { on_punch = function (pos, node, puncher) node.name = "homedecor:toilet" minetest.set_node(pos, node) - minetest.sound_play("homedecor_toilet_flush",{pos=pos, max_hear_distance=5,}) + minetest.sound_play("homedecor_toilet_flush", { + pos=pos, + max_hear_distance = 5, + gain = 1, + }) end, })