reset sound gain to 1.0 for now, since larger values don't work anyway.

This commit is contained in:
Vanessa Ezekowitz 2013-04-29 05:32:54 -04:00
parent 0a0cf536a3
commit 68950ff4e1

View File

@ -280,7 +280,7 @@ function homedecor_flip_door(pos, node, player, name, side)
name="homedecor_door_open", name="homedecor_door_open",
pos=pos, pos=pos,
max_hear_distance = 10, max_hear_distance = 10,
gain = 2 gain = 1,
}) })
else else
rside = "left" rside = "left"
@ -290,7 +290,7 @@ function homedecor_flip_door(pos, node, player, name, side)
name="homedecor_door_close", name="homedecor_door_close",
pos=pos, pos=pos,
max_hear_distance = 10, max_hear_distance = 10,
gain = 2 gain = 1,
}) })
end end
minetest.env:add_node({x=pos.x, y=pos.y+1, z=pos.z}, { name = "homedecor:door_"..name.."_top_"..rside, param2=nfdir}) 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", name="homedecor_gate_open_close",
pos=pos, pos=pos,
max_hear_distance = 10, max_hear_distance = 10,
gain = 2 gain = 1,
}) })
end end