Add ignite sound to TNT
This commit is contained in:
parent
56f0f67dfe
commit
b105e42035
2 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
function spawn_tnt(pos, entname)
|
function spawn_tnt(pos, entname)
|
||||||
minetest.sound_play("", {pos = pos,gain = 1.0,max_hear_distance = 15,})
|
minetest.sound_play("tnt_ignite", {pos = pos,gain = 1.0,max_hear_distance = 15,})
|
||||||
return minetest.env:add_entity(pos, entname)
|
return minetest.env:add_entity(pos, entname)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
BIN
mods/tnt/sounds/tnt_ignite.ogg
Normal file
BIN
mods/tnt/sounds/tnt_ignite.ogg
Normal file
Binary file not shown.
Reference in a new issue