forked from VoxeLibre/VoxeLibre
Add ignite sound to TNT
This commit is contained in:
parent
56f0f67dfe
commit
b105e42035
|
@ -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
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue