Eliminate shooter's dependency on tnt_explode.ogg
This commit is contained in:
parent
c94e34d911
commit
fca7dc5678
2 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ function shooter:blast(pos, radius, fleshy, distance, user)
|
||||||
local pos = vector.round(pos)
|
local pos = vector.round(pos)
|
||||||
local p1 = vector.subtract(pos, radius)
|
local p1 = vector.subtract(pos, radius)
|
||||||
local p2 = vector.add(pos, radius)
|
local p2 = vector.add(pos, radius)
|
||||||
minetest.sound_play("tnt_explode", {pos=pos, gain=1})
|
minetest.sound_play("shooter_explode", {pos=pos, gain=1})
|
||||||
if SHOOTER_ALLOW_NODES and SHOOTER_ENABLE_BLASTING then
|
if SHOOTER_ALLOW_NODES and SHOOTER_ENABLE_BLASTING then
|
||||||
if SHOOTER_ENABLE_PROTECTION then
|
if SHOOTER_ENABLE_PROTECTION then
|
||||||
if not minetest.is_protected(pos, name) then
|
if not minetest.is_protected(pos, name) then
|
||||||
|
|
BIN
mods/shooter/sounds/shooter_explode.ogg
Normal file
BIN
mods/shooter/sounds/shooter_explode.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue