aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2016-11-19 22:58:11 +0000
committerparamat <mat.gregory@virginmedia.com>2016-11-20 04:43:09 +0000
commitc6ca7a81cc61b51451594fc2da1868aa92ac7dd2 (patch)
treeb675d24e0a9a056b744d17dbf88cb77e08832abd
parent681d127ff1d288f4c3123a05f71ef15a6c549b5d (diff)
downloadminetest-c6ca7a81cc61b51451594fc2da1868aa92ac7dd2.tar.gz
minetest-c6ca7a81cc61b51451594fc2da1868aa92ac7dd2.tar.bz2
minetest-c6ca7a81cc61b51451594fc2da1868aa92ac7dd2.zip
Tool break: Reduce gain of break sounds
-rw-r--r--builtin/game/item.lua2
1 files changed, 1 insertions, 1 deletions
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