Skip to content
Snippets Groups Projects
Commit c6ca7a81 authored by paramat's avatar paramat
Browse files

Tool break: Reduce gain of break sounds

parent 681d127f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment