0
0
Fork 0

Add dug sounds to kelp when unsubmerged

This commit is contained in:
iliekprogrammar 2021-03-31 13:55:07 +08:00
parent 9518086b6b
commit 089d6aa5c8
1 changed files with 1 additions and 0 deletions

View File

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