From 68950ff4e16a8790198512953963fc941b6234e0 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 29 Apr 2013 05:32:54 -0400 Subject: [PATCH] reset sound gain to 1.0 for now, since larger values don't work anyway. --- doors_and_gates.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doors_and_gates.lua b/doors_and_gates.lua index e74256b..145f6e9 100644 --- a/doors_and_gates.lua +++ b/doors_and_gates.lua @@ -280,7 +280,7 @@ function homedecor_flip_door(pos, node, player, name, side) name="homedecor_door_open", pos=pos, max_hear_distance = 10, - gain = 2 + gain = 1, }) else rside = "left" @@ -290,7 +290,7 @@ function homedecor_flip_door(pos, node, player, name, side) name="homedecor_door_close", pos=pos, max_hear_distance = 10, - gain = 2 + gain = 1, }) end minetest.env:add_node({x=pos.x, y=pos.y+1, z=pos.z}, { name = "homedecor:door_"..name.."_top_"..rside, param2=nfdir}) @@ -310,6 +310,6 @@ function homedecor_flip_gate(pos, node, player, gate, oc) name="homedecor_gate_open_close", pos=pos, max_hear_distance = 10, - gain = 2 + gain = 1, }) end