From: paramat Date: Sat, 19 Nov 2016 22:58:11 +0000 (+0000) Subject: Tool break: Reduce gain of break sounds X-Git-Tag: 0.4.15~107 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c6ca7a81cc61b51451594fc2da1868aa92ac7dd2;p=oweals%2Fminetest.git Tool break: Reduce gain of break sounds --- diff --git a/builtin/game/item.lua b/builtin/game/item.lua index a2fdbc1f4..bf456a4e0 100644 --- a/builtin/game/item.lua +++ b/builtin/game/item.lua @@ -475,7 +475,7 @@ function core.node_dig(pos, node, digger) if not core.setting_getbool("creative_mode") then wielded:add_wear(dp.wear) if wielded:get_count() == 0 and wdef.sound and wdef.sound.breaks then - core.sound_play(wdef.sound.breaks, {pos = pos, gain = 1.0}) + core.sound_play(wdef.sound.breaks, {pos = pos, gain = 0.5}) end end end