Allow particle effect overrides in gun spec

This commit is contained in:
stujones11 2019-03-17 16:46:27 +00:00
parent 52ed0d2340
commit 18e22a38fb
3 changed files with 68 additions and 38 deletions

View file

@ -63,8 +63,7 @@ local function strike(arrow, pointed_thing, name)
if puncher and puncher ~= target then
local groups = target:get_armor_groups() or {}
if groups.fleshy then
shooter.spawn_particles(hit_pos,
shooter.config.explosion_texture)
shooter.spawn_particles(hit_pos)
end
target:punch(object, nil, arrow_tool_caps, dir)
if config.arrow_object_attach then