Skip to content

Commit

Permalink
Fix mis-placement of sound_play
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Nov 25, 2023
1 parent 48ea551 commit 5daab62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mods/ctf/ctf_combat/ctf_ranged/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ local function process_ray(ray, user, look_dir, def)
size = 1,
collisiondetection = false,
texture = "ctf_ranged_bullethole.png",
minetest.sound_play("ctf_ranged_ricochet", {pos = hitpoint.intersection_point})
})

minetest.sound_play("ctf_ranged_ricochet", {pos = hitpoint.intersection_point})
elseif nodedef.groups.liquid then
minetest.add_particlespawner({
amount = 10,
Expand Down

0 comments on commit 5daab62

Please sign in to comment.