mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Add dug sounds to kelp when unsubmerged
This commit is contained in:
parent
9518086b6b
commit
089d6aa5c8
1 changed files with 1 additions and 0 deletions
|
@ -452,6 +452,7 @@ function kelp.surface_on_timer(pos)
|
|||
local dig_pos = kelp.find_unsubmerged(pos, node)
|
||||
if dig_pos then
|
||||
-- chatlog("detach_dig")
|
||||
mt_sound_play(mt_registered_nodes[node.name].sounds.dug, { gain = 0.5, pos = dig_pos }, true)
|
||||
kelp.detach_dig(dig_pos, pos, node, true, pos_hash)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue