Tool break: Reduce gain of break sounds

This commit is contained in:
paramat 2016-11-19 22:58:11 +00:00
parent 681d127ff1
commit c6ca7a81cc
1 changed files with 1 additions and 1 deletions

View File

@ -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