1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-07-01 16:00:23 +02:00

update punch sound to cc0 version

This commit is contained in:
tenplus1
2022-11-25 18:47:15 +00:00
parent d49c0727f1
commit 4e963e6b90
4 changed files with 7 additions and 4 deletions

View File

@ -25,7 +25,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20221115",
version = "20221125",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {}
}
@ -2936,7 +2936,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir, damage)
-- select tool use sound if found, or fallback to default
local snd = weapon_def.sound and weapon_def.sound.use
or "default_punch"
or "mobs_punch"
minetest.sound_play(snd, {object = self.object, max_hear_distance = 8}, true)