mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Set gain not applied on returnmirror
This commit is contained in:
parent
35c8c024fe
commit
06a44b2b04
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user