Skip to content

Commit

Permalink
Fix guns not dealing damage
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneWolfHT committed Apr 21, 2024
1 parent d84bd58 commit 8544e95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/ctf/ctf_combat/ctf_ranged/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ local function process_ray(ray, user, look_dir, def)
end
end
elseif hitpoint.type == "object" then
hitpoint.ref:punch(user, 0.1, {
full_punch_interval = 1,
hitpoint.ref:punch(user, def.fire_interval or 0.1, {
full_punch_interval = def.fire_interval or 0.1,
damage_groups = {ranged = 1, [def.type] = 1, fleshy = def.damage}
}, look_dir)
end
Expand Down

0 comments on commit 8544e95

Please sign in to comment.