Set gain not applied on returnmirror

This commit is contained in:
LeMagnesium 2015-04-04 15:36:46 +02:00
parent 35c8c024fe
commit 06a44b2b04
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ minetest.register_tool("returnmirror:mirror_inactive", {
local pos = placer:getpos()
local newitem = ItemStack("returnmirror:mirror_active")
newitem:set_metadata(minetest.pos_to_string(pos))
minetest.sound_play({name="returnmirror_set", gain=1*soundset.get_gain(placer:get_player_name(),"other")}, {pos=pos, max_hear_distance=12})
minetest.sound_play({name="returnmirror_set", gain=0.5}, {pos=pos, max_hear_distance=12})
return newitem
end
end,